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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 221.4 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.245/3.245, allocations: 0.4892 GB / 0.7951 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 62.38 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4067, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007817/0.4145, allocations: 4.15 MB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00499/0.4195, allocations: 2.311 MB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004923/0.42, allocations: 27.75 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.4214, allocations: 374.2 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.4227, allocations: 382.2 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.4237, allocations: 327.7 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001066/0.4248, allocations: 0.6908 MB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004232/0.4252, allocations: 223 kB / 1.335 GB, free: 9.367 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004412/0.4256, allocations: 275 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004298/0.426, allocations: 266.8 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.927e-05/0.4261, allocations: 32 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007736/0.4269, allocations: 383.1 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.4271, allocations: 155.5 kB / 1.336 GB, free: 8.277 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.4273, allocations: 199 kB / 1.336 GB, free: 8.082 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009791/0.4283, allocations: 0.7354 MB / 1.337 GB, free: 7.344 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4283, allocations: 0 / 1.337 GB, free: 7.344 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4283, allocations: 0 / 1.337 GB, free: 7.344 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.4283, allocations: 0 / 1.337 GB, free: 7.344 MB / 1.029 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.001313/0.4296, allocations: 0.7226 MB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.4296, allocations: 20.02 kB / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.4309, allocations: 176.4 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007229/0.4317, allocations: 385.5 kB / 1.338 GB, free: 5.992 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.4317, allocations: 21.38 kB / 1.338 GB, free: 5.973 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.917e-05/0.4318, allocations: 36.36 kB / 1.338 GB, free: 5.938 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.4328, allocations: 0.7302 MB / 1.339 GB, free: 5.098 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.4328, allocations: 7.938 kB / 1.339 GB, free: 5.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.296e-05/0.4329, allocations: 16 kB / 1.339 GB, free: 5.074 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.61e-05/0.433, allocations: 51.97 kB / 1.339 GB, free: 5.023 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008423/0.4338, allocations: 499.3 kB / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003608/0.4374, allocations: 3.145 MB / 1.342 GB, free: 1.262 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.4393, allocations: 0.6017 MB / 1.343 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002638/0.4395, allocations: 170.4 kB / 1.343 GB, free: 468 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.4395, allocations: 4 kB / 1.343 GB, free: 464 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.4396, allocations: 38.56 kB / 1.343 GB, free: 416 kB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/0.4396, allocations: 0 / 1.343 GB, free: 416 kB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.002305/0.4419, allocations: 1.057 MB / 1.344 GB, free: 15.33 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.442, allocations: 110.8 kB / 1.344 GB, free: 15.2 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.4425, allocations: 393.3 kB / 1.344 GB, free: 14.8 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.4425, allocations: 29.7 kB / 1.344 GB, free: 14.77 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.4427, allocations: 284.1 kB / 1.345 GB, free: 14.48 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.4428, allocations: 126.9 kB / 1.345 GB, free: 14.36 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.4431, allocations: 98.25 kB / 1.345 GB, free: 14.26 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002624/0.4433, allocations: 350.8 kB / 1.345 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.4436, allocations: 177.2 kB / 1.345 GB, free: 13.73 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/0.4441, allocations: 380.1 kB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007934/0.4449, allocations: 0.5913 MB / 1.346 GB, free: 12.59 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.4449, allocations: 4 kB / 1.346 GB, free: 12.58 MB / 1.045 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001173/0.446, allocations: 0.6713 MB / 1.347 GB, free: 11.89 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.4461, allocations: 8.281 kB / 1.347 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.4461, allocations: 11.94 kB / 1.347 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003788/0.4465, allocations: 102.5 kB / 1.347 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/0.4468, allocations: 119.7 kB / 1.347 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003904/0.4508, allocations: 3.966 MB / 1.351 GB, free: 7.375 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/0.4511, allocations: 31.97 kB / 1.351 GB, free: 7.344 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/0.4511, allocations: 24 kB / 1.351 GB, free: 7.32 MB / 1.045 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.0002683/0.4514, allocations: 190.3 kB / 1.351 GB, free: 7.125 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.4515, allocations: 51.66 kB / 1.351 GB, free: 7.074 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009164/0.4524, allocations: 0.5069 MB / 1.352 GB, free: 6.555 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.4524, allocations: 4 kB / 1.352 GB, free: 6.551 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4524, allocations: 4 kB / 1.352 GB, free: 6.547 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.4525, allocations: 3.938 kB / 1.352 GB, free: 6.543 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.4544, allocations: 1.158 MB / 1.353 GB, free: 5.309 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.4544, allocations: 0 / 1.353 GB, free: 5.309 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.4546, allocations: 68.17 kB / 1.353 GB, free: 5.242 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002767/0.4549, allocations: 94.44 kB / 1.353 GB, free: 5.141 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.4549, allocations: 8 kB / 1.353 GB, free: 5.133 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003728/0.4587, allocations: 3.961 MB / 1.357 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.4587, allocations: 7.938 kB / 1.357 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.4597, allocations: 0.7819 MB / 1.358 GB, free: 20 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/0.4599, allocations: 83.89 kB / 1.358 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.047e-05/0.4599, allocations: 8 kB / 1.358 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.4602, allocations: 23.97 kB / 1.358 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.4603, allocations: 39.77 kB / 1.358 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.4603, allocations: 12 kB / 1.358 GB, free: 15.86 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002917/0.4606, allocations: 263.1 kB / 1.358 GB, free: 15.6 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4606, allocations: 4 kB / 1.358 GB, free: 15.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007947/0.4614, allocations: 120 kB / 1.358 GB, free: 15.48 MB / 1.061 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.0001549/0.4616, allocations: 111.2 kB / 1.359 GB, free: 15.36 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.4629, allocations: 0.778 MB / 1.359 GB, free: 14.54 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4629, allocations: 0 / 1.359 GB, free: 14.54 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007471/0.4636, allocations: 0.5358 MB / 1.36 GB, free: 13.97 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008714/0.4645, allocations: 125.2 kB / 1.36 GB, free: 13.85 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.4661, allocations: 0.9767 MB / 1.361 GB, free: 12.8 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.4666, allocations: 256.2 kB / 1.361 GB, free: 12.53 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.4667, allocations: 43.42 kB / 1.361 GB, free: 12.48 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.4667, allocations: 0 / 1.361 GB, free: 12.48 MB / 1.061 GB Notification: Performance of Templates: time 0.01649/0.4832, allocations: 11.22 MB / 1.372 GB, free: 1.285 MB / 1.061 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/jenkins1/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: 13.450265442952514]