Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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.ACACTransformerFull,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.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,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.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 116.4 kB / 16.42 MB, free: 6.48 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.001369/0.001369, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.439/1.439, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.693/2.693, allocations: 472.7 MB / 0.746 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 59.91 kB / 1.07 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9772/0.9786, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull): time 0.00883/0.9875, allocations: 5.483 MB / 1.232 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007414/0.9949, allocations: 4.087 MB / 1.236 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008345/0.9958, allocations: 19.88 kB / 1.236 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.9977, allocations: 0.5905 MB / 1.236 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002348/1, allocations: 0.6883 MB / 1.237 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001845/1.002, allocations: 0.5339 MB / 1.237 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001955/1.004, allocations: 1.162 MB / 1.239 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008798/1.005, allocations: 430.6 kB / 1.239 GB, free: 500 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009378/1.006, allocations: 462.4 kB / 1.239 GB, free: 36 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/1.007, allocations: 0.5371 MB / 1.24 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002372/1.007, allocations: 64 kB / 1.24 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/1.009, allocations: 0.8342 MB / 1.241 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004929/1.01, allocations: 335.1 kB / 1.241 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007686/1.01, allocations: 425.8 kB / 1.242 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002765/1.013, allocations: 1.408 MB / 1.243 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.013, allocations: 0 / 1.243 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/1.013, allocations: 0 / 1.243 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.343e-05/1.013, allocations: 0 / 1.243 GB, free: 12.44 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002739/1.016, allocations: 1.183 MB / 1.244 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/1.016, allocations: 8.031 kB / 1.244 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009756/1.026, allocations: 1.724 MB / 1.246 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/1.027, allocations: 0.6552 MB / 1.246 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.904e-05/1.027, allocations: 41.67 kB / 1.246 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/1.028, allocations: 72.28 kB / 1.247 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005136/1.033, allocations: 1.913 MB / 1.248 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.108e-05/1.033, allocations: 11.89 kB / 1.248 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/1.033, allocations: 23.98 kB / 1.248 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000337/1.033, allocations: 153.4 kB / 1.249 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008036/1.041, allocations: 2.616 MB / 1.251 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/1.053, allocations: 6.662 MB / 1.258 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003327/1.056, allocations: 1.26 MB / 1.259 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002529/1.059, allocations: 0.9109 MB / 1.26 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002413/1.061, allocations: 1.495 MB / 1.261 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/1.061, allocations: 47.45 kB / 1.261 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=73): time 3.747e-06/1.061, allocations: 3.938 kB / 1.261 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=107): time 0.02966/1.091, allocations: 8.255 MB / 1.269 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/1.091, allocations: 98.03 kB / 1.269 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007812/1.092, allocations: 0.577 MB / 1.27 GB, free: 28 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001481/1.092, allocations: 41.7 kB / 1.27 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000322/1.092, allocations: 428.4 kB / 1.27 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004043/1.093, allocations: 392.7 kB / 1.271 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005796/1.093, allocations: 258.8 kB / 1.271 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001959/1.094, allocations: 402.7 kB / 1.271 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00305/1.097, allocations: 1.122 MB / 1.273 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003336/1.1, allocations: 1.452 MB / 1.274 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006315/1.106, allocations: 2.604 MB / 1.277 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/1.106, allocations: 4 kB / 1.277 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.0111/1.117, allocations: 3.87 MB / 1.28 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/1.117, allocations: 12 kB / 1.28 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/1.118, allocations: 8 kB / 1.28 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005123/1.123, allocations: 1.33 MB / 1.282 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/1.125, allocations: 459.2 kB / 1.282 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01614/1.141, allocations: 12.14 MB / 1.294 GB, free: 6.629 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002481/1.143, allocations: 303.5 kB / 1.294 GB, free: 6.332 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002638/1.144, allocations: 72.03 kB / 1.294 GB, free: 6.262 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003352/1.147, allocations: 1.322 MB / 1.296 GB, free: 4.934 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003217/1.15, allocations: 1.441 MB / 1.297 GB, free: 3.352 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006152/1.156, allocations: 2.577 MB / 1.299 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.037e-05/1.157, allocations: 4 kB / 1.299 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of matching and sorting (n=163) (initialization_lambda0): time 0.01037/1.167, allocations: 3.652 MB / 1.303 GB, free: 12.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/1.167, allocations: 8 kB / 1.303 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/1.167, allocations: 15.94 kB / 1.303 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003873/1.171, allocations: 1.061 MB / 1.304 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002091/1.173, allocations: 471.2 kB / 1.305 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01386/1.187, allocations: 11.12 MB / 1.315 GB, free: 15.71 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/1.189, allocations: 311.6 kB / 1.316 GB, free: 15.4 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002465/1.189, allocations: 59.97 kB / 1.316 GB, free: 15.34 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,8,100.0%), (2,8,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005156/1.19, allocations: 261.8 kB / 1.316 GB, free: 15.08 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/1.19, allocations: 91.38 kB / 1.316 GB, free: 14.99 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/1.201, allocations: 3.739 MB / 1.32 GB, free: 11.23 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/1.201, allocations: 3.984 kB / 1.32 GB, free: 11.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.201, allocations: 4 kB / 1.32 GB, free: 11.22 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00062/1.202, allocations: 340.3 kB / 1.32 GB, free: 10.87 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/1.202, allocations: 20 kB / 1.32 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001896/1.204, allocations: 299.5 kB / 1.32 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003142/1.204, allocations: 104.8 kB / 1.321 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01079/1.215, allocations: 3.703 MB / 1.324 GB, free: 6.734 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009444/1.225, allocations: 3.823 MB / 1.328 GB, free: 2.895 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002934/1.228, allocations: 1.139 MB / 1.329 GB, free: 1.75 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0006655/1.228, allocations: 414.8 kB / 1.329 GB, free: 1.344 MB / 1.045 GB Notification: Performance of Backend: time 6.71e-07/1.228, allocations: 192 / 1.329 GB, free: 1.344 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01393/1.242, allocations: 5.211 MB / 1.334 GB, free: 12.02 MB / 1.061 GB Notification: Performance of SimCode: time 0.003568/1.246, allocations: 2.385 MB / 1.337 GB, free: 9.594 MB / 1.061 GB Notification: Performance of Templates: time 0.06171/1.307, allocations: 40.89 MB / 1.377 GB, free: 0.832 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches