Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001777, allocations: 113.1 kB / 17.08 MB, free: 5.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 191.7 kB / 20.03 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.127/2.127, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.202/3.202, allocations: 489.2 MB / 0.7687 GB, free: 3.781 MB / 0.6075 GB " [Timeout remaining time 176] 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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002063, allocations: 71.89 kB / 1.103 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113/1.115, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006081/1.121, allocations: 4.286 MB / 1.267 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00398/1.125, allocations: 2.376 MB / 1.269 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004045/1.126, allocations: 17.03 kB / 1.269 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001125/1.127, allocations: 374.8 kB / 1.269 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001078/1.128, allocations: 378.6 kB / 1.27 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000993/1.129, allocations: 312 kB / 1.27 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009889/1.13, allocations: 0.6853 MB / 1.271 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004685/1.131, allocations: 268.4 kB / 1.271 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003918/1.131, allocations: 257.7 kB / 1.271 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004052/1.131, allocations: 267.1 kB / 1.272 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.97e-05/1.131, allocations: 29.03 kB / 1.272 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009934/1.132, allocations: 428.7 kB / 1.272 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001921/1.133, allocations: 144.8 kB / 1.272 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002575/1.133, allocations: 232.8 kB / 1.272 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001099/1.134, allocations: 0.7438 MB / 1.273 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.134, allocations: 1.312 kB / 1.273 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/1.134, allocations: 0 / 1.273 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.788e-06/1.134, allocations: 0 / 1.273 GB, free: 1.57 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001149/1.135, allocations: 0.7963 MB / 1.274 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/1.135, allocations: 9.375 kB / 1.274 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/1.137, allocations: 193.2 kB / 1.274 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005792/1.137, allocations: 441.5 kB / 1.274 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/1.137, allocations: 22.53 kB / 1.274 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.275e-05/1.137, allocations: 34.08 kB / 1.275 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008407/1.138, allocations: 0.658 MB / 1.275 GB, free: 128 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/1.138, allocations: 5.906 kB / 1.275 GB, free: 124 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.492e-05/1.138, allocations: 17.75 kB / 1.275 GB, free: 112 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.979e-05/1.138, allocations: 53.7 kB / 1.275 GB, free: 104 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007701/1.139, allocations: 498.4 kB / 1.276 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003994/1.143, allocations: 3.786 MB / 1.279 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/1.145, allocations: 0.6295 MB / 1.28 GB, free: 12.35 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/1.145, allocations: 190.1 kB / 1.28 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/1.145, allocations: 2.125 kB / 1.28 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/1.146, allocations: 37.25 kB / 1.28 GB, free: 12.22 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 4.148e-06/1.146, allocations: 3.984 kB / 1.28 GB, free: 12.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002559/1.148, allocations: 1.292 MB / 1.281 GB, free: 11.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.592e-05/1.148, allocations: 106.2 kB / 1.282 GB, free: 11.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005022/1.149, allocations: 398.5 kB / 1.282 GB, free: 11.12 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/1.149, allocations: 32.14 kB / 1.282 GB, free: 11.09 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/1.149, allocations: 298.4 kB / 1.282 GB, free: 10.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/1.149, allocations: 110.5 kB / 1.282 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/1.149, allocations: 100.9 kB / 1.282 GB, free: 10.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000192/1.149, allocations: 360.7 kB / 1.283 GB, free: 10.36 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/1.15, allocations: 172.5 kB / 1.283 GB, free: 10.31 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/1.15, allocations: 373.4 kB / 1.283 GB, free: 9.996 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008002/1.151, allocations: 0.5927 MB / 1.284 GB, free: 9.559 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/1.151, allocations: 5.906 kB / 1.284 GB, free: 9.555 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001154/1.152, allocations: 0.6724 MB / 1.285 GB, free: 9.262 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/1.152, allocations: 8.25 kB / 1.285 GB, free: 9.262 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/1.152, allocations: 9.25 kB / 1.285 GB, free: 9.262 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003907/1.153, allocations: 105.6 kB / 1.285 GB, free: 9.211 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/1.153, allocations: 112.4 kB / 1.285 GB, free: 9.199 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004025/1.157, allocations: 4.352 MB / 1.289 GB, free: 4.914 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004212/1.158, allocations: 29.48 kB / 1.289 GB, free: 4.906 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.547e-05/1.158, allocations: 25.23 kB / 1.289 GB, free: 4.902 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003054/1.158, allocations: 203.1 kB / 1.289 GB, free: 4.738 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/1.158, allocations: 51.25 kB / 1.289 GB, free: 4.711 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/1.159, allocations: 0.5179 MB / 1.29 GB, free: 4.473 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.159, allocations: 5.484 kB / 1.29 GB, free: 4.473 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.159, allocations: 5.094 kB / 1.29 GB, free: 4.469 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/1.159, allocations: 3.266 kB / 1.29 GB, free: 4.469 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/1.161, allocations: 1.288 MB / 1.291 GB, free: 3.645 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/1.161, allocations: 2.703 kB / 1.291 GB, free: 3.645 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/1.161, allocations: 64.16 kB / 1.291 GB, free: 3.637 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002989/1.162, allocations: 85.61 kB / 1.291 GB, free: 3.602 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/1.162, allocations: 13.12 kB / 1.291 GB, free: 3.594 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004074/1.166, allocations: 4.34 MB / 1.296 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.166, allocations: 2.594 kB / 1.296 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/1.167, allocations: 0.7812 MB / 1.296 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/1.167, allocations: 155.5 kB / 1.296 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.096e-05/1.167, allocations: 14.73 kB / 1.296 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/1.168, allocations: 21.12 kB / 1.296 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/1.168, allocations: 39.88 kB / 1.297 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/1.168, allocations: 13.59 kB / 1.297 GB, free: 14.6 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003854/1.168, allocations: 285.9 kB / 1.297 GB, free: 14.46 MB / 1.029 GB Notification: Performance of sort global known variables: time 4.51e-07/1.168, allocations: 0 / 1.297 GB, free: 14.46 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007857/1.169, allocations: 119.9 kB / 1.297 GB, free: 14.45 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001938/1.169, allocations: 116.2 kB / 1.297 GB, free: 14.35 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001628/1.171, allocations: 0.7998 MB / 1.298 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.171, allocations: 0.5938 kB / 1.298 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008312/1.172, allocations: 0.5526 MB / 1.298 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009403/1.173, allocations: 128.5 kB / 1.298 GB, free: 13.42 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/1.174, allocations: 0.9548 MB / 1.299 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006228/1.175, allocations: 0.8603 MB / 1.3 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/1.175, allocations: 40.81 kB / 1.3 GB, free: 12.11 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/1.175, allocations: 4 kB / 1.3 GB, free: 12.1 MB / 1.029 GB Notification: Performance of Templates: time 0.01973/1.195, allocations: 11.14 MB / 1.311 GB, free: 11.23 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.558926159050316]