Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.001345/0.001345, allocations: 120.7 kB / 16.82 MB, free: 5.758 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.001287/0.001287, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.478/1.478, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.049/3.049, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.47 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3825, allocations: 168.7 MB / 1.262 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.008431/0.3909, allocations: 5.44 MB / 1.267 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007181/0.3981, allocations: 4.126 MB / 1.271 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005225/0.3986, allocations: 19.88 kB / 1.271 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.4003, allocations: 0.5872 MB / 1.272 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002495/0.4028, allocations: 0.6883 MB / 1.273 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.4048, allocations: 0.5339 MB / 1.273 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002253/0.407, allocations: 1.158 MB / 1.274 GB, free: 356 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008871/0.4079, allocations: 357.7 kB / 1.275 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007863/0.4087, allocations: 474.2 kB / 1.275 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009423/0.4097, allocations: 0.5644 MB / 1.276 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.4098, allocations: 64 kB / 1.276 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.4116, allocations: 0.8576 MB / 1.277 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004152/0.412, allocations: 335 kB / 1.277 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005137/0.4125, allocations: 433.8 kB / 1.277 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002157/0.4147, allocations: 1.405 MB / 1.279 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4147, allocations: 0 / 1.279 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.505e-06/0.4147, allocations: 4 kB / 1.279 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.4147, allocations: 0 / 1.279 GB, free: 11.87 MB / 0.9981 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.002448/0.4171, allocations: 1.175 MB / 1.28 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.4172, allocations: 12.03 kB / 1.28 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.4273, allocations: 1.716 MB / 1.281 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.4288, allocations: 0.659 MB / 1.282 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.294e-05/0.4288, allocations: 49.66 kB / 1.282 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.429, allocations: 60.36 kB / 1.282 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005191/0.4342, allocations: 1.921 MB / 1.284 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.4342, allocations: 7.922 kB / 1.284 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.4344, allocations: 35.91 kB / 1.284 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003657/0.4347, allocations: 149.4 kB / 1.284 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008277/0.443, allocations: 2.616 MB / 1.287 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/0.4544, allocations: 6.647 MB / 1.293 GB, free: 12.31 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003699/0.4581, allocations: 1.252 MB / 1.295 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002748/0.4608, allocations: 0.8836 MB / 1.295 GB, free: 10.15 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002477/0.4633, allocations: 1.479 MB / 1.297 GB, free: 8.605 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.558e-05/0.4634, allocations: 42.5 kB / 1.297 GB, free: 8.555 MB / 1.014 GB Notification: Performance of pre-optimization done (n=73): time 2.826e-06/0.4634, allocations: 0 / 1.297 GB, free: 8.555 MB / 1.014 GB Notification: Performance of matching and sorting (n=107): time 0.03012/0.4935, allocations: 8.257 MB / 1.305 GB, free: 248 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.4936, allocations: 90.11 kB / 1.305 GB, free: 140 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009544/0.4945, allocations: 0.5732 MB / 1.306 GB, free: 15.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002169/0.4948, allocations: 41.7 kB / 1.306 GB, free: 15.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.4951, allocations: 428.4 kB / 1.306 GB, free: 15.08 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004447/0.4955, allocations: 396.6 kB / 1.306 GB, free: 14.69 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000498/0.496, allocations: 258.8 kB / 1.307 GB, free: 14.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000215/0.4963, allocations: 394.7 kB / 1.307 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00322/0.4995, allocations: 1.122 MB / 1.308 GB, free: 12.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003511/0.503, allocations: 1.456 MB / 1.31 GB, free: 11.31 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006685/0.5097, allocations: 2.6 MB / 1.312 GB, free: 8.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/0.5097, allocations: 4 kB / 1.312 GB, free: 8.566 MB / 1.029 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01137/0.5211, allocations: 3.854 MB / 1.316 GB, free: 4.688 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.5211, allocations: 12 kB / 1.316 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.5211, allocations: 8 kB / 1.316 GB, free: 4.668 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005065/0.5262, allocations: 1.334 MB / 1.317 GB, free: 3.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/0.5284, allocations: 459.2 kB / 1.318 GB, free: 2.871 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01806/0.5465, allocations: 12.13 MB / 1.33 GB, free: 6.184 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002435/0.5489, allocations: 311.6 kB / 1.33 GB, free: 5.879 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/0.5491, allocations: 67.95 kB / 1.33 GB, free: 5.812 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003523/0.5526, allocations: 1.322 MB / 1.331 GB, free: 4.484 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003427/0.556, allocations: 1.444 MB / 1.333 GB, free: 2.891 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006512/0.5626, allocations: 2.581 MB / 1.335 GB, free: 172 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.166e-05/0.5626, allocations: 4 kB / 1.335 GB, free: 168 kB / 1.045 GB Notification: Performance of matching and sorting (n=163) (initialization_lambda0): time 0.01052/0.5731, allocations: 3.628 MB / 1.339 GB, free: 12.51 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.5731, allocations: 12 kB / 1.339 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.5731, allocations: 8 kB / 1.339 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00379/0.5769, allocations: 1.057 MB / 1.34 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/0.5792, allocations: 471.2 kB / 1.34 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01519/0.5943, allocations: 11.11 MB / 1.351 GB, free: 15.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/0.5968, allocations: 303.6 kB / 1.351 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.597, allocations: 67.91 kB / 1.351 GB, free: 14.92 MB / 1.076 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.0005177/0.5975, allocations: 260 kB / 1.352 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/0.5977, allocations: 95.36 kB / 1.352 GB, free: 14.56 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/0.6086, allocations: 3.711 MB / 1.355 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.259e-05/0.6087, allocations: 3.984 kB / 1.355 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.6087, allocations: 0 / 1.355 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007064/0.6094, allocations: 344.3 kB / 1.356 GB, free: 10.47 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.6096, allocations: 19.98 kB / 1.356 GB, free: 10.45 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001886/0.6114, allocations: 299.5 kB / 1.356 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002754/0.6117, allocations: 100.8 kB / 1.356 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01083/0.6225, allocations: 3.711 MB / 1.36 GB, free: 6.324 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009586/0.6321, allocations: 3.823 MB / 1.363 GB, free: 2.477 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002989/0.6351, allocations: 1.112 MB / 1.364 GB, free: 1.367 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006275/0.6357, allocations: 414.8 kB / 1.365 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of Backend: time 4.31e-07/0.6357, allocations: 0 / 1.365 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01369/0.6494, allocations: 5.003 MB / 1.37 GB, free: 11.85 MB / 1.092 GB Notification: Performance of SimCode: time 0.00361/0.653, allocations: 2.408 MB / 1.372 GB, free: 9.398 MB / 1.092 GB Notification: Performance of Templates: time 0.06706/0.7201, allocations: 41.95 MB / 1.413 GB, free: 15.54 MB / 1.139 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches