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.002088/0.002088, allocations: 114.8 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.002301/0.002301, allocations: 189.5 kB / 17.35 MB, free: 5.719 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.539/1.539, 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 10.1.1-maint.10.0.x/package.mo): time 2.643/2.643, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 63.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139/1.141, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.005469/1.146, allocations: 2.816 MB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003596/1.15, allocations: 2.096 MB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/1.15, allocations: 4 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009876/1.151, allocations: 231 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007285/1.152, allocations: 223.1 kB / 1.173 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009702/1.153, allocations: 276.3 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005731/1.154, allocations: 319.1 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004108/1.154, allocations: 157.9 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/1.154, allocations: 127.6 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003803/1.155, allocations: 147.5 kB / 1.174 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.082e-05/1.155, allocations: 24 kB / 1.174 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007521/1.156, allocations: 419.2 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/1.156, allocations: 95.77 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/1.156, allocations: 111.4 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008876/1.157, allocations: 488.4 kB / 1.175 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.157, allocations: 0 / 1.175 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.723e-06/1.157, allocations: 0 / 1.175 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.867e-05/1.157, allocations: 0 / 1.175 GB, free: 12.32 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.001384/1.158, allocations: 0.5675 MB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/1.158, allocations: 8.922 kB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/1.159, allocations: 128.5 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/1.16, allocations: 265.5 kB / 1.176 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/1.16, allocations: 12.81 kB / 1.176 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.884e-05/1.16, allocations: 24.12 kB / 1.176 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008104/1.161, allocations: 393.9 kB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/1.161, allocations: 4 kB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/1.161, allocations: 12 kB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.172e-05/1.161, allocations: 23.98 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008128/1.162, allocations: 375.4 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/1.164, allocations: 1.745 MB / 1.178 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007719/1.165, allocations: 356.9 kB / 1.178 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003807/1.165, allocations: 189.6 kB / 1.179 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/1.165, allocations: 89.09 kB / 1.179 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/1.165, allocations: 38.5 kB / 1.179 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/1.165, allocations: 4 kB / 1.179 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=35): time 0.009017/1.175, allocations: 2.048 MB / 1.181 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/1.175, allocations: 85.09 kB / 1.181 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/1.175, allocations: 185.3 kB / 1.181 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.207e-05/1.175, allocations: 29.7 kB / 1.181 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/1.175, allocations: 152.3 kB / 1.181 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/1.175, allocations: 114.3 kB / 1.181 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/1.175, allocations: 81.67 kB / 1.181 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.176, allocations: 330.8 kB / 1.182 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006452/1.176, allocations: 272.6 kB / 1.182 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006549/1.177, allocations: 353.4 kB / 1.182 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/1.178, allocations: 0.6156 MB / 1.183 GB, free: 3.461 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.178, allocations: 0 / 1.183 GB, free: 3.461 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001415/1.18, allocations: 0.6621 MB / 1.183 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/1.18, allocations: 8 kB / 1.183 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.18, allocations: 0 / 1.183 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/1.18, allocations: 4 kB / 1.183 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009738/1.181, allocations: 156 kB / 1.184 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/1.181, allocations: 7.938 kB / 1.184 GB, free: 2.621 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/1.181, allocations: 55.91 kB / 1.184 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.993e-05/1.181, allocations: 16 kB / 1.184 GB, free: 2.551 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006725/1.182, allocations: 367.9 kB / 1.184 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005897/1.182, allocations: 337.9 kB / 1.184 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00117/1.184, allocations: 0.5903 MB / 1.185 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.116e-06/1.184, allocations: 0 / 1.185 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001413/1.185, allocations: 0.6493 MB / 1.186 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/1.185, allocations: 4 kB / 1.186 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/1.185, allocations: 7.938 kB / 1.186 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/1.185, allocations: 4 kB / 1.186 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009095/1.186, allocations: 151.8 kB / 1.186 GB, free: 388 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.186, allocations: 4 kB / 1.186 GB, free: 384 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/1.187, allocations: 52.02 kB / 1.186 GB, free: 332 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/1.187, allocations: 16 kB / 1.186 GB, free: 316 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.0002085/1.187, allocations: 216 kB / 1.186 GB, free: 92 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/1.187, allocations: 19.81 kB / 1.186 GB, free: 72 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/1.188, allocations: 0.6805 MB / 1.187 GB, free: 15.38 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/1.188, allocations: 7.984 kB / 1.187 GB, free: 15.37 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/1.188, allocations: 0 / 1.187 GB, free: 15.37 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/1.189, allocations: 148.8 kB / 1.187 GB, free: 15.21 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/1.189, allocations: 8 kB / 1.187 GB, free: 15.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/1.189, allocations: 55.84 kB / 1.187 GB, free: 15.14 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/1.189, allocations: 27.91 kB / 1.187 GB, free: 15.12 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001619/1.191, allocations: 0.781 MB / 1.188 GB, free: 14.33 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001166/1.192, allocations: 0.8152 MB / 1.189 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004796/1.193, allocations: 276.4 kB / 1.189 GB, free: 13.23 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001966/1.193, allocations: 160.7 kB / 1.189 GB, free: 13.07 MB / 0.92 GB Notification: Performance of Backend: time 7.62e-07/1.193, allocations: 0 / 1.189 GB, free: 13.07 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002502/1.195, allocations: 0.9298 MB / 1.19 GB, free: 12.13 MB / 0.92 GB Notification: Performance of SimCode: time 0.001369/1.197, allocations: 0.8996 MB / 1.191 GB, free: 11.19 MB / 0.92 GB Notification: Performance of Templates: time 0.0181/1.215, allocations: 10.31 MB / 1.201 GB, free: 0.918 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