Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001601/0.001601, allocations: 109.5 kB / 17.08 MB, free: 6.012 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.001654/0.001654, allocations: 192.7 kB / 20.03 MB, free: 3.082 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.442/1.442, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.648/2.648, allocations: 437 MB / 0.7177 GB, free: 4.434 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.89 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3436, allocations: 151.6 MB / 1.176 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006161/0.3498, allocations: 4.297 MB / 1.18 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004034/0.3539, allocations: 2.369 MB / 1.182 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002377/0.3542, allocations: 19.81 kB / 1.182 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.3554, allocations: 374.2 kB / 1.183 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0008913/0.3563, allocations: 366.2 kB / 1.183 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007671/0.3571, allocations: 323.2 kB / 1.183 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007779/0.3578, allocations: 0.675 MB / 1.184 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004521/0.3583, allocations: 269.9 kB / 1.184 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003439/0.3587, allocations: 259 kB / 1.185 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003836/0.3591, allocations: 258.9 kB / 1.185 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.901e-05/0.3591, allocations: 35.94 kB / 1.185 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007349/0.3599, allocations: 427.1 kB / 1.185 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.3601, allocations: 151.5 kB / 1.185 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.3603, allocations: 238.8 kB / 1.186 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009805/0.3613, allocations: 0.7315 MB / 1.186 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.3613, allocations: 0 / 1.186 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3613, allocations: 3.938 kB / 1.186 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.3614, allocations: 0 / 1.186 GB, free: 11.07 MB / 0.9356 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.001297/0.3627, allocations: 0.8057 MB / 1.187 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3627, allocations: 8.031 kB / 1.187 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.3641, allocations: 188.4 kB / 1.187 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006381/0.3647, allocations: 440.7 kB / 1.188 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.3647, allocations: 25.38 kB / 1.188 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.606e-05/0.3648, allocations: 36.36 kB / 1.188 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009526/0.3658, allocations: 0.6478 MB / 1.188 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.3658, allocations: 15.89 kB / 1.188 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/0.3659, allocations: 12 kB / 1.188 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.794e-05/0.366, allocations: 55.95 kB / 1.188 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007557/0.3667, allocations: 495.3 kB / 1.189 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003538/0.3703, allocations: 3.79 MB / 1.193 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.372, allocations: 0.6328 MB / 1.193 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.3723, allocations: 174.5 kB / 1.193 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.3723, allocations: 4 kB / 1.193 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.3724, allocations: 46.48 kB / 1.193 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 2.956e-06/0.3724, allocations: 0 / 1.193 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.00233/0.3747, allocations: 1.287 MB / 1.195 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/0.3748, allocations: 114.7 kB / 1.195 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004514/0.3753, allocations: 401.8 kB / 1.195 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.3753, allocations: 29.7 kB / 1.195 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.3756, allocations: 284.2 kB / 1.196 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.3757, allocations: 130.9 kB / 1.196 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.3758, allocations: 98.16 kB / 1.196 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.376, allocations: 358.8 kB / 1.196 GB, free: 444 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.3763, allocations: 177 kB / 1.196 GB, free: 268 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/0.3767, allocations: 371.2 kB / 1.197 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007173/0.3774, allocations: 0.5835 MB / 1.197 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.3774, allocations: 7.938 kB / 1.197 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001071/0.3785, allocations: 0.6711 MB / 1.198 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3785, allocations: 8.781 kB / 1.198 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.3786, allocations: 12 kB / 1.198 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003561/0.3789, allocations: 110.4 kB / 1.198 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.3793, allocations: 115.8 kB / 1.198 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003768/0.3831, allocations: 4.345 MB / 1.202 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.3834, allocations: 31.97 kB / 1.202 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.3835, allocations: 24.16 kB / 1.202 GB, free: 9.367 MB / 0.9512 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.0002797/0.3838, allocations: 201.5 kB / 1.203 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.3839, allocations: 51.67 kB / 1.203 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009306/0.3848, allocations: 0.5228 MB / 1.203 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3848, allocations: 4 kB / 1.203 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3849, allocations: 4 kB / 1.203 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3849, allocations: 4 kB / 1.203 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.3867, allocations: 1.291 MB / 1.204 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.3867, allocations: 4 kB / 1.204 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.387, allocations: 59.89 kB / 1.204 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000258/0.3872, allocations: 86.8 kB / 1.205 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.3873, allocations: 16 kB / 1.205 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003639/0.3909, allocations: 4.34 MB / 1.209 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.3909, allocations: 4 kB / 1.209 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.392, allocations: 0.7859 MB / 1.21 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.3921, allocations: 156.8 kB / 1.21 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/0.3922, allocations: 15.95 kB / 1.21 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002977/0.3925, allocations: 23.91 kB / 1.21 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.259e-05/0.3926, allocations: 35.84 kB / 1.21 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.3926, allocations: 12 kB / 1.21 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003258/0.393, allocations: 279.1 kB / 1.21 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.393, allocations: 4 kB / 1.21 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006879/0.3937, allocations: 124 kB / 1.21 GB, free: 0.7422 MB / 0.9512 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.0001603/0.3938, allocations: 111.2 kB / 1.21 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.3952, allocations: 0.8015 MB / 1.211 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.3952, allocations: 256 / 1.211 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007839/0.396, allocations: 0.5466 MB / 1.212 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000908/0.3969, allocations: 132.7 kB / 1.212 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.3985, allocations: 0.9604 MB / 1.213 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/0.3991, allocations: 0.8624 MB / 1.214 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.3992, allocations: 43.42 kB / 1.214 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.3992, allocations: 4 kB / 1.214 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of Templates: time 0.01537/0.4146, allocations: 11.13 MB / 1.224 GB, free: 1.988 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.207257892005146]