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.001545/0.001545, allocations: 104.2 kB / 19.74 MB, free: 2.062 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.001729/0.001729, allocations: 207.5 kB / 23.04 MB, free: 4.852 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.113/3.113, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 177] 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.002004/0.002004, allocations: 75.33 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3759, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007173/0.3831, allocations: 4.138 MB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00481/0.3879, allocations: 2.326 MB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003559/0.3882, allocations: 23.75 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.3897, allocations: 378.2 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.3911, allocations: 386.2 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.3922, allocations: 315.2 kB / 1.335 GB, free: 9.434 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001056/0.3933, allocations: 0.683 MB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006476/0.3939, allocations: 230.1 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005364/0.3945, allocations: 274.9 kB / 1.336 GB, free: 8.246 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005604/0.395, allocations: 258.9 kB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.864e-05/0.3951, allocations: 31.94 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009065/0.396, allocations: 387.1 kB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.3962, allocations: 151.5 kB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000239/0.3964, allocations: 195 kB / 1.337 GB, free: 7.242 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.3975, allocations: 0.7316 MB / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.3975, allocations: 4 kB / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3975, allocations: 0 / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.3975, allocations: 3.938 kB / 1.337 GB, free: 6.5 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.001428/0.3989, allocations: 0.7304 MB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.399, allocations: 8.031 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.4004, allocations: 192.4 kB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007457/0.4011, allocations: 377.5 kB / 1.339 GB, free: 5.145 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/0.4012, allocations: 25.36 kB / 1.339 GB, free: 5.121 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.007e-05/0.4013, allocations: 36.38 kB / 1.339 GB, free: 5.086 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.4023, allocations: 0.7224 MB / 1.339 GB, free: 4.254 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.4023, allocations: 7.938 kB / 1.339 GB, free: 4.246 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.474e-05/0.4024, allocations: 15.94 kB / 1.339 GB, free: 4.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.123e-05/0.4024, allocations: 51.97 kB / 1.339 GB, free: 4.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007463/0.4032, allocations: 0.4971 MB / 1.34 GB, free: 3.684 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003181/0.4064, allocations: 3.153 MB / 1.343 GB, free: 412 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.4081, allocations: 0.609 MB / 1.344 GB, free: 15.77 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.4083, allocations: 162.5 kB / 1.344 GB, free: 15.6 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.4084, allocations: 4 kB / 1.344 GB, free: 15.59 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.4084, allocations: 42.5 kB / 1.344 GB, free: 15.54 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.4084, allocations: 0 / 1.344 GB, free: 15.54 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002214/0.4106, allocations: 1.053 MB / 1.345 GB, free: 14.47 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.4107, allocations: 110.8 kB / 1.345 GB, free: 14.34 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.4112, allocations: 393.3 kB / 1.345 GB, free: 13.95 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.4112, allocations: 30.27 kB / 1.345 GB, free: 13.91 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.4114, allocations: 292.1 kB / 1.346 GB, free: 13.62 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.4115, allocations: 119 kB / 1.346 GB, free: 13.5 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.4117, allocations: 106.2 kB / 1.346 GB, free: 13.39 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.4119, allocations: 354.8 kB / 1.346 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.4121, allocations: 173.2 kB / 1.346 GB, free: 12.86 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004398/0.4126, allocations: 380.1 kB / 1.347 GB, free: 12.4 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007586/0.4133, allocations: 0.5874 MB / 1.347 GB, free: 11.72 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4133, allocations: 0 / 1.347 GB, free: 11.72 MB / 1.045 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001076/0.4144, allocations: 0.6669 MB / 1.348 GB, free: 11.04 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.4144, allocations: 11.34 kB / 1.348 GB, free: 11.03 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.4144, allocations: 8 kB / 1.348 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003788/0.4148, allocations: 102.5 kB / 1.348 GB, free: 10.91 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.4152, allocations: 115.8 kB / 1.348 GB, free: 10.8 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003968/0.4192, allocations: 3.969 MB / 1.352 GB, free: 6.523 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.4197, allocations: 31.97 kB / 1.352 GB, free: 6.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/0.4197, allocations: 24 kB / 1.352 GB, free: 6.469 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.0002891/0.42, allocations: 194.5 kB / 1.352 GB, free: 6.27 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.4201, allocations: 51.66 kB / 1.352 GB, free: 6.219 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009644/0.4211, allocations: 0.5148 MB / 1.353 GB, free: 5.691 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.4211, allocations: 4 kB / 1.353 GB, free: 5.688 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4211, allocations: 0 / 1.353 GB, free: 5.688 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.4211, allocations: 11.92 kB / 1.353 GB, free: 5.676 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.423, allocations: 1.147 MB / 1.354 GB, free: 4.453 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.4231, allocations: 4 kB / 1.354 GB, free: 4.449 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.4233, allocations: 63.89 kB / 1.354 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002722/0.4236, allocations: 86.5 kB / 1.354 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.4236, allocations: 12 kB / 1.354 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003476/0.4271, allocations: 3.965 MB / 1.358 GB, free: 12 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.4271, allocations: 4.031 kB / 1.358 GB, free: 8 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.4281, allocations: 0.7856 MB / 1.359 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.4283, allocations: 75.62 kB / 1.359 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.4284, allocations: 12 kB / 1.359 GB, free: 15.08 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003006/0.4287, allocations: 19.97 kB / 1.359 GB, free: 15.06 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.551e-05/0.4287, allocations: 43.83 kB / 1.359 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.4288, allocations: 20.05 kB / 1.359 GB, free: 15 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002925/0.429, allocations: 259.2 kB / 1.359 GB, free: 14.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.429, allocations: 0 / 1.359 GB, free: 14.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006954/0.4297, allocations: 124 kB / 1.359 GB, free: 14.62 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.0001485/0.4299, allocations: 107.2 kB / 1.359 GB, free: 14.51 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.4312, allocations: 0.7742 MB / 1.36 GB, free: 13.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4312, allocations: 4 kB / 1.36 GB, free: 13.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007297/0.4319, allocations: 0.5391 MB / 1.361 GB, free: 13.12 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008932/0.4328, allocations: 138.5 kB / 1.361 GB, free: 12.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.4344, allocations: 0.9573 MB / 1.362 GB, free: 11.96 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.4347, allocations: 260.2 kB / 1.362 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.4348, allocations: 39.42 kB / 1.362 GB, free: 11.64 MB / 1.061 GB Notification: Performance of SimCode: time 8.42e-07/0.4348, allocations: 0 / 1.362 GB, free: 11.64 MB / 1.061 GB Notification: Performance of Templates: time 0.01536/0.4501, allocations: 11.21 MB / 1.373 GB, free: 452 kB / 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: 12.6366746078711]