Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001534/0.001534, allocations: 101.8 kB / 18.83 MB, free: 3.023 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.001777/0.001777, allocations: 192.8 kB / 22.1 MB, free: 4.625 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 1.499/1.499, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.196/3.196, allocations: 495.8 MB / 0.783 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.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_12_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_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 66.59 kB / 1.137 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3968, allocations: 173.6 MB / 1.307 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006682/0.4035, allocations: 4.419 MB / 1.311 GB, free: 13.43 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004497/0.408, allocations: 2.443 MB / 1.313 GB, free: 10.97 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003511/0.4084, allocations: 23.75 kB / 1.313 GB, free: 10.95 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.4097, allocations: 393.5 kB / 1.314 GB, free: 10.57 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.4107, allocations: 382.2 kB / 1.314 GB, free: 10.19 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008985/0.4116, allocations: 327.1 kB / 1.315 GB, free: 9.871 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0009281/0.4125, allocations: 0.6752 MB / 1.315 GB, free: 9.191 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/0.4129, allocations: 194.4 kB / 1.315 GB, free: 8.996 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004156/0.4133, allocations: 270.9 kB / 1.316 GB, free: 8.73 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004037/0.4138, allocations: 274.9 kB / 1.316 GB, free: 8.461 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.569e-05/0.4138, allocations: 32 kB / 1.316 GB, free: 8.43 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007757/0.4146, allocations: 391.1 kB / 1.316 GB, free: 8.047 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.4148, allocations: 151.5 kB / 1.316 GB, free: 7.898 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002741/0.415, allocations: 234.7 kB / 1.317 GB, free: 7.668 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.4161, allocations: 0.7315 MB / 1.317 GB, free: 6.934 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4162, allocations: 0 / 1.317 GB, free: 6.934 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4162, allocations: 4 kB / 1.317 GB, free: 6.93 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.4162, allocations: 0 / 1.317 GB, free: 6.93 MB / 1.014 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.001364/0.4175, allocations: 0.7343 MB / 1.318 GB, free: 6.164 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.4176, allocations: 8.922 kB / 1.318 GB, free: 6.156 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.419, allocations: 184.4 kB / 1.318 GB, free: 5.977 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006785/0.4197, allocations: 373.7 kB / 1.319 GB, free: 5.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.4197, allocations: 29.3 kB / 1.319 GB, free: 5.562 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.527e-05/0.4198, allocations: 36.38 kB / 1.319 GB, free: 5.527 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.4208, allocations: 0.6549 MB / 1.319 GB, free: 4.781 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.4208, allocations: 7.938 kB / 1.319 GB, free: 4.773 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.4209, allocations: 12 kB / 1.319 GB, free: 4.762 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.424e-05/0.4209, allocations: 51.97 kB / 1.319 GB, free: 4.711 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009121/0.4219, allocations: 0.4915 MB / 1.32 GB, free: 4.219 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00393/0.4258, allocations: 3.741 MB / 1.324 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.4276, allocations: 0.597 MB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.4279, allocations: 170.4 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.4279, allocations: 0 / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.4279, allocations: 42.5 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.382e-06/0.4279, allocations: 0 / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.002369/0.4303, allocations: 1.065 MB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.765e-05/0.4304, allocations: 110.8 kB / 1.325 GB, free: 14.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004824/0.4308, allocations: 397.9 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.4309, allocations: 33.64 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.4311, allocations: 300.1 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.4312, allocations: 119 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.4314, allocations: 106.2 kB / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.4316, allocations: 346.8 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.4319, allocations: 177.2 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004539/0.4323, allocations: 380.2 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007948/0.4331, allocations: 0.5793 MB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.4331, allocations: 7.938 kB / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001151/0.4343, allocations: 0.6793 MB / 1.328 GB, free: 10.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.4343, allocations: 8.781 kB / 1.328 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.4343, allocations: 8 kB / 1.328 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003841/0.4347, allocations: 98.44 kB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.4351, allocations: 115.8 kB / 1.329 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/0.4389, allocations: 4.04 MB / 1.333 GB, free: 6.219 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.4393, allocations: 31.92 kB / 1.333 GB, free: 6.188 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/0.4394, allocations: 27.98 kB / 1.333 GB, free: 6.16 MB / 1.029 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.0002841/0.4396, allocations: 197.5 kB / 1.333 GB, free: 5.957 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.4398, allocations: 51.67 kB / 1.333 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009617/0.4407, allocations: 0.5225 MB / 1.333 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4407, allocations: 4 kB / 1.333 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4408, allocations: 3.984 kB / 1.333 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.4408, allocations: 4 kB / 1.333 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.4427, allocations: 1.255 MB / 1.335 GB, free: 4.016 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.4427, allocations: 8 kB / 1.335 GB, free: 4.008 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.443, allocations: 55.91 kB / 1.335 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003077/0.4433, allocations: 94.78 kB / 1.335 GB, free: 3.852 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.4433, allocations: 8 kB / 1.335 GB, free: 3.844 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003635/0.4469, allocations: 4.026 MB / 1.339 GB, free: 15.48 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4469, allocations: 4.031 kB / 1.339 GB, free: 15.47 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.448, allocations: 0.7862 MB / 1.34 GB, free: 14.63 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.4482, allocations: 75.67 kB / 1.34 GB, free: 14.55 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/0.4482, allocations: 12 kB / 1.34 GB, free: 14.54 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/0.4485, allocations: 24.25 kB / 1.34 GB, free: 14.52 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.102e-05/0.4486, allocations: 39.83 kB / 1.34 GB, free: 14.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.4486, allocations: 16 kB / 1.34 GB, free: 14.46 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003322/0.449, allocations: 279.1 kB / 1.34 GB, free: 14.19 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.449, allocations: 0 / 1.34 GB, free: 14.19 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006797/0.4497, allocations: 124 kB / 1.34 GB, free: 14.07 MB / 1.045 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.0001644/0.4498, allocations: 125 kB / 1.34 GB, free: 13.94 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001303/0.4511, allocations: 0.7869 MB / 1.341 GB, free: 13.11 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4511, allocations: 0 / 1.341 GB, free: 13.11 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007697/0.4519, allocations: 0.5318 MB / 1.341 GB, free: 12.54 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008854/0.4528, allocations: 137.2 kB / 1.342 GB, free: 12.41 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.4544, allocations: 0.9202 MB / 1.343 GB, free: 11.43 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005672/0.4549, allocations: 0.8664 MB / 1.343 GB, free: 10.54 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002828/0.4552, allocations: 100.5 kB / 1.343 GB, free: 10.45 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.813e-05/0.4553, allocations: 39.42 kB / 1.343 GB, free: 10.41 MB / 1.045 GB Notification: Performance of SimCode: time 1.042e-06/0.4553, allocations: 4 kB / 1.344 GB, free: 10.4 MB / 1.045 GB Notification: Performance of Templates: time 0.01249/0.4678, allocations: 6.168 MB / 1.35 GB, free: 4.289 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.435564650222659]