Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.OnePhase.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.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 107.4 kB / 16.41 MB, free: 6.453 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.001533/0.001533, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.46/1.46, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.717/2.717, allocations: 461.9 MB / 0.7355 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 60.12 kB / 1.055 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9649/0.9665, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.008115/0.9747, allocations: 5.381 MB / 1.214 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006895/0.9816, allocations: 4.079 MB / 1.218 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007519/0.9824, allocations: 19.88 kB / 1.218 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.9843, allocations: 0.5756 MB / 1.218 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.9865, allocations: 0.6882 MB / 1.219 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.9882, allocations: 0.5248 MB / 1.219 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001717/0.9899, allocations: 1.146 MB / 1.221 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000865/0.9908, allocations: 441.3 kB / 1.221 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000879/0.9917, allocations: 466.4 kB / 1.221 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.9928, allocations: 0.5293 MB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002634/0.993, allocations: 64 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.9948, allocations: 0.8381 MB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004773/0.9953, allocations: 335.1 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007149/0.996, allocations: 437.8 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002496/0.9985, allocations: 1.4 MB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.9985, allocations: 0 / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9986, allocations: 0 / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.762e-05/0.9986, allocations: 0 / 1.225 GB, free: 12.73 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002624/1.001, allocations: 1.157 MB / 1.226 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/1.001, allocations: 8.031 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009655/1.011, allocations: 1.716 MB / 1.228 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/1.012, allocations: 0.6546 MB / 1.228 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.25e-05/1.012, allocations: 41.67 kB / 1.228 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002728/1.013, allocations: 56.36 kB / 1.228 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005206/1.018, allocations: 1.921 MB / 1.23 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.007e-05/1.018, allocations: 4 kB / 1.23 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/1.018, allocations: 31.97 kB / 1.23 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003419/1.018, allocations: 149.3 kB / 1.231 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007898/1.026, allocations: 2.612 MB / 1.233 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/1.038, allocations: 6.653 MB / 1.24 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003409/1.041, allocations: 1.281 MB / 1.241 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002547/1.044, allocations: 0.9068 MB / 1.242 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00231/1.046, allocations: 1.479 MB / 1.243 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/1.046, allocations: 42.56 kB / 1.243 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=73): time 4.008e-06/1.046, allocations: 0 / 1.243 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of matching and sorting (n=107): time 0.02805/1.074, allocations: 8.246 MB / 1.251 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/1.074, allocations: 94.05 kB / 1.251 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007761/1.075, allocations: 0.5731 MB / 1.252 GB, free: 412 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001726/1.075, allocations: 49.7 kB / 1.252 GB, free: 356 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/1.076, allocations: 411.2 kB / 1.252 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003866/1.076, allocations: 370.6 kB / 1.253 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00053/1.077, allocations: 262.6 kB / 1.253 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001622/1.077, allocations: 394.7 kB / 1.253 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002961/1.08, allocations: 1.118 MB / 1.254 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003176/1.083, allocations: 1.464 MB / 1.256 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00609/1.089, allocations: 2.604 MB / 1.258 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/1.089, allocations: 4 kB / 1.258 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01062/1.1, allocations: 3.866 MB / 1.262 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/1.1, allocations: 8 kB / 1.262 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/1.1, allocations: 20.45 kB / 1.262 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004901/1.105, allocations: 1.322 MB / 1.263 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002163/1.107, allocations: 463.2 kB / 1.264 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/1.123, allocations: 12.13 MB / 1.276 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/1.126, allocations: 311.6 kB / 1.276 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003094/1.126, allocations: 63.97 kB / 1.276 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003598/1.13, allocations: 1.318 MB / 1.277 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003259/1.133, allocations: 1.448 MB / 1.279 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006128/1.139, allocations: 2.581 MB / 1.281 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.12e-05/1.139, allocations: 0 / 1.281 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization_lambda0): time 0.009987/1.149, allocations: 3.64 MB / 1.285 GB, free: 13.37 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/1.149, allocations: 14.03 kB / 1.285 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/1.149, allocations: 12 kB / 1.285 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003553/1.153, allocations: 1.057 MB / 1.286 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/1.155, allocations: 471.2 kB / 1.286 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/1.168, allocations: 11.11 MB / 1.297 GB, free: 136 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/1.171, allocations: 303.5 kB / 1.298 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002719/1.171, allocations: 72.02 kB / 1.298 GB, free: 15.77 MB / 1.029 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.0005287/1.172, allocations: 251.9 kB / 1.298 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003003/1.172, allocations: 94.91 kB / 1.298 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/1.182, allocations: 3.723 MB / 1.302 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.743e-05/1.182, allocations: 11.97 kB / 1.302 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.182, allocations: 0 / 1.302 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006651/1.183, allocations: 335.9 kB / 1.302 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/1.183, allocations: 19.94 kB / 1.302 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/1.185, allocations: 303.5 kB / 1.302 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003278/1.186, allocations: 104.8 kB / 1.302 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01038/1.196, allocations: 3.715 MB / 1.306 GB, free: 7.148 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009022/1.205, allocations: 3.807 MB / 1.31 GB, free: 3.328 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002791/1.208, allocations: 1.139 MB / 1.311 GB, free: 2.184 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007091/1.209, allocations: 418.7 kB / 1.311 GB, free: 1.773 MB / 1.029 GB Notification: Performance of Backend: time 7.41e-07/1.209, allocations: 0 / 1.311 GB, free: 1.773 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01371/1.222, allocations: 5.184 MB / 1.316 GB, free: 12.48 MB / 1.045 GB Notification: Performance of SimCode: time 0.003917/1.226, allocations: 2.359 MB / 1.319 GB, free: 10.07 MB / 1.045 GB Notification: Performance of Templates: time 0.07136/1.298, allocations: 41.77 MB / 1.359 GB, free: 408 kB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches