Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01283/0.01283, allocations: 97.89 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002259/0.002259, allocations: 198.7 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226/1.228, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.005088/1.233, allocations: 2.739 MB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004179/1.237, allocations: 2.086 MB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/1.237, allocations: 7.781 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009262/1.238, allocations: 226.5 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006346/1.239, allocations: 218.2 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009518/1.24, allocations: 278 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005917/1.24, allocations: 318 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004941/1.241, allocations: 169.2 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/1.241, allocations: 127.8 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00037/1.242, allocations: 153.9 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.095e-05/1.242, allocations: 19.06 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009931/1.243, allocations: 414.5 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001675/1.243, allocations: 94.69 kB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001743/1.243, allocations: 112.2 kB / 1.095 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/1.244, allocations: 496.8 kB / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.244, allocations: 0.625 kB / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.995e-06/1.244, allocations: 0.625 kB / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.909e-06/1.244, allocations: 0 / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001095/1.245, allocations: 0.5678 MB / 1.096 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/1.245, allocations: 9.625 kB / 1.096 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/1.246, allocations: 133.9 kB / 1.096 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/1.247, allocations: 268.5 kB / 1.096 GB, free: 388 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/1.247, allocations: 16.23 kB / 1.096 GB, free: 380 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.388e-05/1.247, allocations: 21.31 kB / 1.096 GB, free: 372 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000898/1.248, allocations: 399.6 kB / 1.097 GB, free: 164 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/1.248, allocations: 1.469 kB / 1.097 GB, free: 164 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/1.248, allocations: 10.19 kB / 1.097 GB, free: 156 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-05/1.248, allocations: 20.89 kB / 1.097 GB, free: 156 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008546/1.249, allocations: 381 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002711/1.252, allocations: 1.739 MB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009654/1.252, allocations: 352.9 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004213/1.253, allocations: 192.3 kB / 1.099 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/1.253, allocations: 91.67 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/1.253, allocations: 37.33 kB / 1.099 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 1.883e-06/1.253, allocations: 0 / 1.099 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35): time 0.009718/1.263, allocations: 2.052 MB / 1.101 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/1.263, allocations: 85.08 kB / 1.101 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/1.263, allocations: 179.3 kB / 1.102 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.042e-05/1.263, allocations: 35.39 kB / 1.102 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/1.263, allocations: 151.3 kB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/1.264, allocations: 119.7 kB / 1.102 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/1.264, allocations: 85.17 kB / 1.102 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.264, allocations: 331.2 kB / 1.102 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006608/1.265, allocations: 266.6 kB / 1.102 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006838/1.265, allocations: 346.9 kB / 1.103 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/1.267, allocations: 0.6174 MB / 1.103 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.267, allocations: 5.5 kB / 1.103 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001519/1.268, allocations: 0.6723 MB / 1.104 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.268, allocations: 9.859 kB / 1.104 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.268, allocations: 2.719 kB / 1.104 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/1.268, allocations: 4.891 kB / 1.104 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009901/1.269, allocations: 148.3 kB / 1.104 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/1.269, allocations: 5.984 kB / 1.104 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/1.27, allocations: 59.09 kB / 1.104 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/1.27, allocations: 19.17 kB / 1.104 GB, free: 12 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007156/1.271, allocations: 370.9 kB / 1.105 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006673/1.271, allocations: 338.2 kB / 1.105 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001228/1.272, allocations: 0.5871 MB / 1.106 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.745e-06/1.272, allocations: 0.9375 kB / 1.106 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.00148/1.274, allocations: 0.6378 MB / 1.106 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.274, allocations: 8.406 kB / 1.106 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/1.274, allocations: 6.438 kB / 1.106 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.395e-06/1.274, allocations: 7.5 kB / 1.106 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000927/1.275, allocations: 153.5 kB / 1.106 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/1.275, allocations: 4.656 kB / 1.106 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/1.275, allocations: 50.83 kB / 1.106 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/1.276, allocations: 18.09 kB / 1.106 GB, free: 11.07 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002335/1.276, allocations: 206.8 kB / 1.107 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/1.276, allocations: 22.42 kB / 1.107 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/1.278, allocations: 0.6772 MB / 1.107 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/1.278, allocations: 8.094 kB / 1.107 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.278, allocations: 1.953 kB / 1.107 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/1.278, allocations: 2.672 kB / 1.107 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/1.28, allocations: 1.37 MB / 1.109 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/1.28, allocations: 6.281 kB / 1.109 GB, free: 9.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000611/1.281, allocations: 125.2 kB / 1.109 GB, free: 9.719 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/1.281, allocations: 3.969 kB / 1.109 GB, free: 9.719 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/1.281, allocations: 8.984 kB / 1.109 GB, free: 9.715 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/1.281, allocations: 11.55 kB / 1.109 GB, free: 9.707 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.281, allocations: 2.656 kB / 1.109 GB, free: 9.707 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/1.282, allocations: 0.7112 MB / 1.109 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/1.282, allocations: 140.1 kB / 1.11 GB, free: 9.145 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.245e-05/1.282, allocations: 21.98 kB / 1.11 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/1.283, allocations: 54.72 kB / 1.11 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/1.283, allocations: 25.25 kB / 1.11 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/1.283, allocations: 10.64 kB / 1.11 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002647/1.283, allocations: 152.1 kB / 1.11 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.5e-07/1.283, allocations: 0 / 1.11 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008391/1.284, allocations: 147.6 kB / 1.11 GB, free: 8.988 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002827/1.284, allocations: 137 kB / 1.11 GB, free: 8.879 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002192/1.287, allocations: 0.864 MB / 1.111 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/1.287, allocations: 0 / 1.111 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005289/1.287, allocations: 258.2 kB / 1.111 GB, free: 8.52 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005976/1.288, allocations: 58.81 kB / 1.111 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/1.289, allocations: 0.7018 MB / 1.112 GB, free: 8.082 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/1.29, allocations: 0.7821 MB / 1.113 GB, free: 7.375 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006276/1.29, allocations: 177.4 kB / 1.113 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/1.291, allocations: 30.52 kB / 1.113 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of SimCode: time 4.7e-07/1.291, allocations: 0 / 1.113 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of Templates: time 0.01238/1.303, allocations: 5.281 MB / 1.118 GB, free: 6.996 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches