Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 113.5 kB / 16.42 MB, free: 6.504 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.001381/0.001381, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.463/1.463, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.362/2.362, allocations: 390.2 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 63.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8649/0.8665, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.004022/0.8705, allocations: 2.821 MB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002984/0.8735, allocations: 2.085 MB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.8737, allocations: 3.625 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008292/0.8745, allocations: 230.2 kB / 1.094 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005829/0.8751, allocations: 222.5 kB / 1.094 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009439/0.8761, allocations: 274 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004421/0.8765, allocations: 323 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003302/0.8769, allocations: 156 kB / 1.095 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.8771, allocations: 128 kB / 1.095 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.8774, allocations: 154 kB / 1.095 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.503e-05/0.8774, allocations: 19.06 kB / 1.095 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000764/0.8782, allocations: 414.4 kB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.8783, allocations: 102.1 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.8785, allocations: 113.5 kB / 1.095 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008132/0.8793, allocations: 490.4 kB / 1.096 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8793, allocations: 0 / 1.096 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8793, allocations: 0.5 kB / 1.096 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.8793, allocations: 0 / 1.096 GB, free: 1.105 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.0009378/0.8803, allocations: 0.5576 MB / 1.096 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.8803, allocations: 11.81 kB / 1.096 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.8814, allocations: 130 kB / 1.097 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.8817, allocations: 261.4 kB / 1.097 GB, free: 372 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.8817, allocations: 17.2 kB / 1.097 GB, free: 364 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.615e-05/0.8818, allocations: 25.38 kB / 1.097 GB, free: 352 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007679/0.8826, allocations: 394.8 kB / 1.097 GB, free: 148 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.8826, allocations: 8.656 kB / 1.097 GB, free: 140 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.8827, allocations: 6.625 kB / 1.097 GB, free: 136 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.656e-05/0.8827, allocations: 30.06 kB / 1.097 GB, free: 128 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008042/0.8835, allocations: 371.9 kB / 1.098 GB, free: 16 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002482/0.886, allocations: 1.74 MB / 1.099 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008098/0.8868, allocations: 352.5 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004493/0.8873, allocations: 193.4 kB / 1.1 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.8875, allocations: 91.88 kB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.8875, allocations: 37.14 kB / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 2.314e-06/0.8875, allocations: 0 / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35): time 0.009452/0.897, allocations: 2.05 MB / 1.102 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.8971, allocations: 85.33 kB / 1.102 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.8973, allocations: 175.4 kB / 1.102 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.396e-05/0.8974, allocations: 35.45 kB / 1.102 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.8975, allocations: 146.8 kB / 1.102 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.8977, allocations: 119.7 kB / 1.103 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.8979, allocations: 76.66 kB / 1.103 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.898, allocations: 330.9 kB / 1.103 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006329/0.8987, allocations: 266.7 kB / 1.103 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000651/0.8993, allocations: 350.3 kB / 1.104 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.9006, allocations: 0.622 MB / 1.104 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.9006, allocations: 1.25 kB / 1.104 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001444/0.902, allocations: 0.6679 MB / 1.105 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.9021, allocations: 6.969 kB / 1.105 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.9021, allocations: 2.094 kB / 1.105 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.9021, allocations: 3.656 kB / 1.105 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009585/0.9031, allocations: 153.2 kB / 1.105 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/0.9031, allocations: 9.391 kB / 1.105 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004792/0.9036, allocations: 55.88 kB / 1.105 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.687e-05/0.9037, allocations: 18.53 kB / 1.105 GB, free: 12 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006924/0.9044, allocations: 367.4 kB / 1.105 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006362/0.905, allocations: 338 kB / 1.106 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001203/0.9062, allocations: 0.5922 MB / 1.106 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-06/0.9062, allocations: 0 / 1.106 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.00143/0.9077, allocations: 0.638 MB / 1.107 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.9077, allocations: 9.531 kB / 1.107 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.9077, allocations: 2.719 kB / 1.107 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/0.9077, allocations: 5.062 kB / 1.107 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008988/0.9086, allocations: 144.3 kB / 1.107 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/0.9087, allocations: 12.73 kB / 1.107 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/0.9091, allocations: 63 kB / 1.107 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.876e-05/0.9092, allocations: 22.38 kB / 1.107 GB, free: 11.06 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.0002006/0.9094, allocations: 201.2 kB / 1.107 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.449e-05/0.9095, allocations: 23.41 kB / 1.107 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.911, allocations: 0.6727 MB / 1.108 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.9111, allocations: 15.64 kB / 1.108 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.9111, allocations: 1.312 kB / 1.108 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002222/0.9113, allocations: 142 kB / 1.108 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/0.9114, allocations: 10.84 kB / 1.108 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/0.9118, allocations: 55.83 kB / 1.108 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.9119, allocations: 26.91 kB / 1.108 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001602/0.9136, allocations: 0.7863 MB / 1.109 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00123/0.9148, allocations: 0.8175 MB / 1.11 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006336/0.9154, allocations: 285.5 kB / 1.11 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002248/0.9157, allocations: 147.2 kB / 1.11 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of Backend: time 3.01e-07/0.9157, allocations: 0 / 1.11 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002751/0.9184, allocations: 0.9163 MB / 1.111 GB, free: 9 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001351/0.9198, allocations: 0.9076 MB / 1.112 GB, free: 8.266 MB / 0.8731 GB Notification: Performance of Templates: time 0.02257/0.9424, allocations: 10.31 MB / 1.122 GB, free: 7.551 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches