Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001374/0.001374, allocations: 109 kB / 16.41 MB, free: 6.512 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.001386/0.001386, allocations: 186.7 kB / 17.34 MB, free: 5.734 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.635/2.635, allocations: 472.7 MB / 0.746 GB, free: 484 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001306, allocations: 59.91 kB / 1.07 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9481/0.9494, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.005261/0.9547, allocations: 2.829 MB / 1.229 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003641/0.9584, allocations: 2.076 MB / 1.231 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.9586, allocations: 7.938 kB / 1.231 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009719/0.9596, allocations: 235.1 kB / 1.231 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006871/0.9603, allocations: 215.1 kB / 1.232 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007931/0.9611, allocations: 282.4 kB / 1.232 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003934/0.9615, allocations: 327 kB / 1.232 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003753/0.9619, allocations: 153.9 kB / 1.232 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.9621, allocations: 127.6 kB / 1.232 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003235/0.9624, allocations: 155.5 kB / 1.233 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.9625, allocations: 20 kB / 1.233 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007239/0.9632, allocations: 419.2 kB / 1.233 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.9633, allocations: 91.77 kB / 1.233 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.9635, allocations: 115.4 kB / 1.233 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000699/0.9642, allocations: 491 kB / 1.234 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.9642, allocations: 0 / 1.234 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9642, allocations: 0 / 1.234 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.9642, allocations: 3.938 kB / 1.234 GB, free: 6.004 MB / 0.9512 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.001007/0.9653, allocations: 0.5763 MB / 1.234 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.9653, allocations: 8.031 kB / 1.234 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009557/0.9663, allocations: 132.6 kB / 1.234 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.9666, allocations: 256.5 kB / 1.235 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.9666, allocations: 16.81 kB / 1.235 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.243e-05/0.9667, allocations: 28.11 kB / 1.235 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007133/0.9674, allocations: 389.9 kB / 1.235 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.9675, allocations: 8 kB / 1.235 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.9675, allocations: 7.984 kB / 1.235 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.424e-05/0.9675, allocations: 27.98 kB / 1.235 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007536/0.9683, allocations: 367.6 kB / 1.235 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00227/0.9706, allocations: 1.741 MB / 1.237 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007757/0.9714, allocations: 360.9 kB / 1.237 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003788/0.9718, allocations: 193.6 kB / 1.238 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.9719, allocations: 89.11 kB / 1.238 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.972, allocations: 38.55 kB / 1.238 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=25): time 3.126e-06/0.972, allocations: 0 / 1.238 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of matching and sorting (n=35): time 0.008569/0.9806, allocations: 2.056 MB / 1.24 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.423e-05/0.9807, allocations: 81.11 kB / 1.24 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.9809, allocations: 178.7 kB / 1.24 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.9809, allocations: 29.7 kB / 1.24 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.981, allocations: 156.6 kB / 1.24 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.9812, allocations: 122.9 kB / 1.24 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.9813, allocations: 81.67 kB / 1.24 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.9815, allocations: 326.8 kB / 1.241 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005703/0.9821, allocations: 268.7 kB / 1.241 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006221/0.9827, allocations: 349.5 kB / 1.241 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.9839, allocations: 0.6234 MB / 1.242 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.9839, allocations: 0 / 1.242 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001443/0.9854, allocations: 0.663 MB / 1.243 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.9854, allocations: 9.406 kB / 1.243 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.9854, allocations: 0 / 1.243 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/0.9855, allocations: 4 kB / 1.243 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009673/0.9864, allocations: 156 kB / 1.243 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/0.9865, allocations: 7.938 kB / 1.243 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004649/0.9869, allocations: 55.86 kB / 1.243 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.598e-05/0.987, allocations: 19.98 kB / 1.243 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000677/0.9877, allocations: 375.9 kB / 1.243 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005984/0.9883, allocations: 325.3 kB / 1.243 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001163/0.9895, allocations: 0.598 MB / 1.244 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.526e-06/0.9895, allocations: 4 kB / 1.244 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001386/0.9909, allocations: 0.6454 MB / 1.245 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.9909, allocations: 4 kB / 1.245 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.9909, allocations: 4 kB / 1.245 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.9909, allocations: 4 kB / 1.245 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008742/0.9918, allocations: 151.8 kB / 1.245 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.9918, allocations: 4 kB / 1.245 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/0.9923, allocations: 56.11 kB / 1.245 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.9924, allocations: 16 kB / 1.245 GB, free: 9.957 MB / 0.9669 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.0002371/0.9926, allocations: 212 kB / 1.245 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.75e-05/0.9927, allocations: 19.86 kB / 1.245 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.9942, allocations: 0.6844 MB / 1.246 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.9943, allocations: 4 kB / 1.246 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.9943, allocations: 0 / 1.246 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.9945, allocations: 140.9 kB / 1.246 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.9945, allocations: 11.98 kB / 1.246 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004416/0.995, allocations: 51.92 kB / 1.246 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.9951, allocations: 27.94 kB / 1.246 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001602/0.9967, allocations: 0.7965 MB / 1.247 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001154/0.9979, allocations: 0.819 MB / 1.248 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004754/0.9983, allocations: 276.3 kB / 1.248 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001808/0.9985, allocations: 152.1 kB / 1.248 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of Backend: time 3.71e-07/0.9985, allocations: 0 / 1.248 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002375/1.001, allocations: 0.9239 MB / 1.249 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of SimCode: time 0.00123/1.002, allocations: 0.91 MB / 1.25 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of Templates: time 0.01762/1.02, allocations: 10.3 MB / 1.26 GB, free: 10.56 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches