Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001416/0.001416, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.001346/0.001346, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.489/1.489, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.635/2.635, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 71.89 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.192/1.194, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.004934/1.199, allocations: 2.818 MB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004216/1.203, allocations: 2.092 MB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/1.203, allocations: 7.938 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/1.204, allocations: 228.4 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007775/1.205, allocations: 223.1 kB / 1.173 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000928/1.206, allocations: 275.2 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005839/1.206, allocations: 311.1 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004337/1.207, allocations: 165.9 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003027/1.207, allocations: 123.6 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004442/1.208, allocations: 155.5 kB / 1.174 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.333e-05/1.208, allocations: 20 kB / 1.174 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008057/1.209, allocations: 411.3 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/1.209, allocations: 95.77 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000157/1.209, allocations: 127.3 kB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008869/1.21, allocations: 483 kB / 1.175 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.21, allocations: 0 / 1.175 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.353e-06/1.21, allocations: 0 / 1.175 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.679e-05/1.21, allocations: 0 / 1.175 GB, free: 12.34 MB / 0.9044 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.001215/1.211, allocations: 0.5707 MB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/1.211, allocations: 8.922 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/1.212, allocations: 132.6 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/1.213, allocations: 265.6 kB / 1.176 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/1.213, allocations: 16.8 kB / 1.176 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.447e-05/1.213, allocations: 20.12 kB / 1.176 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007763/1.214, allocations: 393.9 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/1.214, allocations: 0 / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/1.214, allocations: 12 kB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.391e-05/1.214, allocations: 19.98 kB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007811/1.215, allocations: 387.4 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/1.217, allocations: 1.742 MB / 1.178 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008504/1.218, allocations: 356.9 kB / 1.178 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003753/1.218, allocations: 189.6 kB / 1.179 GB, free: 7.984 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/1.218, allocations: 93.08 kB / 1.179 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/1.218, allocations: 38.56 kB / 1.179 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 2.024e-06/1.218, allocations: 0 / 1.179 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of matching and sorting (n=35): time 0.009147/1.228, allocations: 2.065 MB / 1.181 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/1.228, allocations: 81.11 kB / 1.181 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/1.228, allocations: 177.3 kB / 1.181 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/1.228, allocations: 33.7 kB / 1.181 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/1.228, allocations: 148.7 kB / 1.181 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/1.228, allocations: 130.9 kB / 1.181 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/1.228, allocations: 77.69 kB / 1.181 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002465/1.229, allocations: 330.8 kB / 1.182 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/1.229, allocations: 268.6 kB / 1.182 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006585/1.23, allocations: 345.5 kB / 1.182 GB, free: 4.109 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/1.231, allocations: 0.6234 MB / 1.183 GB, free: 3.457 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.231, allocations: 4 kB / 1.183 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001577/1.233, allocations: 0.6623 MB / 1.183 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.233, allocations: 4 kB / 1.184 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.233, allocations: 4 kB / 1.184 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/1.233, allocations: 4 kB / 1.184 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009477/1.234, allocations: 159.8 kB / 1.184 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/1.234, allocations: 7.938 kB / 1.184 GB, free: 2.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/1.234, allocations: 55.98 kB / 1.184 GB, free: 2.555 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/1.234, allocations: 23.92 kB / 1.184 GB, free: 2.531 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006634/1.235, allocations: 364 kB / 1.184 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006756/1.236, allocations: 341.9 kB / 1.184 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001236/1.237, allocations: 0.5903 MB / 1.185 GB, free: 1.184 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.935e-06/1.237, allocations: 0 / 1.185 GB, free: 1.184 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001355/1.238, allocations: 0.6414 MB / 1.186 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/1.238, allocations: 4 kB / 1.186 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.238, allocations: 4.281 kB / 1.186 GB, free: 0.5234 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/1.238, allocations: 11.94 kB / 1.186 GB, free: 0.5117 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008693/1.239, allocations: 147.8 kB / 1.186 GB, free: 376 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.964e-06/1.239, allocations: 4 kB / 1.186 GB, free: 372 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/1.24, allocations: 51.92 kB / 1.186 GB, free: 320 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/1.24, allocations: 19.98 kB / 1.186 GB, free: 300 kB / 0.9044 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.0002488/1.24, allocations: 208 kB / 1.186 GB, free: 84 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/1.24, allocations: 27.86 kB / 1.186 GB, free: 56 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/1.242, allocations: 0.6766 MB / 1.187 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/1.242, allocations: 3.984 kB / 1.187 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/1.242, allocations: 0 / 1.187 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/1.242, allocations: 153 kB / 1.187 GB, free: 15.19 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.916e-05/1.242, allocations: 7.984 kB / 1.187 GB, free: 15.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000447/1.243, allocations: 55.91 kB / 1.187 GB, free: 15.13 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/1.243, allocations: 27.91 kB / 1.187 GB, free: 15.1 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001701/1.244, allocations: 0.7848 MB / 1.188 GB, free: 14.31 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001185/1.246, allocations: 0.8036 MB / 1.189 GB, free: 13.49 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004964/1.246, allocations: 288.4 kB / 1.189 GB, free: 13.21 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001925/1.246, allocations: 156.7 kB / 1.189 GB, free: 13.06 MB / 0.92 GB Notification: Performance of Backend: time 3.4e-07/1.246, allocations: 0 / 1.189 GB, free: 13.06 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002569/1.249, allocations: 0.9236 MB / 1.19 GB, free: 12.12 MB / 0.92 GB Notification: Performance of SimCode: time 0.001426/1.25, allocations: 0.9258 MB / 1.191 GB, free: 11.16 MB / 0.92 GB Notification: Performance of Templates: time 0.01799/1.268, allocations: 10.3 MB / 1.201 GB, free: 0.8906 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches