Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.001409/0.001409, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001601/0.001601, allocations: 213 kB / 23.01 MB, free: 4.566 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 8 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.141/3.141, allocations: 0.49 GB / 0.7958 GB, free: 33.31 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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [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.002061/0.002061, allocations: 70.3 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3964, allocations: 176.1 MB / 1.327 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007299/0.4037, allocations: 5.06 MB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004459/0.4081, allocations: 2.604 MB / 1.335 GB, free: 9.746 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003359/0.4084, allocations: 39.56 kB / 1.335 GB, free: 9.707 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.4097, allocations: 424.9 kB / 1.335 GB, free: 9.293 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.4108, allocations: 465.6 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009508/0.4117, allocations: 411.1 kB / 1.336 GB, free: 8.434 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001111/0.4128, allocations: 0.9294 MB / 1.337 GB, free: 7.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005054/0.4133, allocations: 314.4 kB / 1.337 GB, free: 7.184 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005264/0.4139, allocations: 366.6 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000525/0.4144, allocations: 366.3 kB / 1.338 GB, free: 6.465 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.4144, allocations: 40 kB / 1.338 GB, free: 6.426 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007099/0.4152, allocations: 415.1 kB / 1.338 GB, free: 6.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.4154, allocations: 179.4 kB / 1.338 GB, free: 5.844 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003073/0.4157, allocations: 322.2 kB / 1.339 GB, free: 5.527 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.4167, allocations: 0.891 MB / 1.34 GB, free: 4.633 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4167, allocations: 0 / 1.34 GB, free: 4.633 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4167, allocations: 0 / 1.34 GB, free: 4.633 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.4167, allocations: 4 kB / 1.34 GB, free: 4.629 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001479/0.4182, allocations: 0.8973 MB / 1.34 GB, free: 3.695 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.4182, allocations: 8.031 kB / 1.34 GB, free: 3.688 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.4195, allocations: 212.2 kB / 1.341 GB, free: 3.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008632/0.4203, allocations: 488.8 kB / 1.341 GB, free: 2.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.4204, allocations: 37.3 kB / 1.341 GB, free: 2.945 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.546e-05/0.4204, allocations: 40.38 kB / 1.341 GB, free: 2.906 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.4216, allocations: 0.8448 MB / 1.342 GB, free: 1.926 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.4216, allocations: 15.88 kB / 1.342 GB, free: 1.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.422e-05/0.4217, allocations: 27.97 kB / 1.342 GB, free: 1.883 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.072e-05/0.4217, allocations: 68.97 kB / 1.342 GB, free: 1.816 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008677/0.4226, allocations: 0.5694 MB / 1.343 GB, free: 1.246 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004891/0.4275, allocations: 5.567 MB / 1.348 GB, free: 11.3 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006711/0.4282, allocations: 419.7 kB / 1.349 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.4285, allocations: 204.7 kB / 1.349 GB, free: 10.68 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.4285, allocations: 4 kB / 1.349 GB, free: 10.68 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.4285, allocations: 34.56 kB / 1.349 GB, free: 10.63 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 2.285e-06/0.4285, allocations: 4 kB / 1.349 GB, free: 10.63 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002478/0.431, allocations: 1.148 MB / 1.35 GB, free: 9.457 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.4311, allocations: 55.69 kB / 1.35 GB, free: 9.391 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000546/0.4316, allocations: 0.4952 MB / 1.35 GB, free: 8.887 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.4317, allocations: 33.64 kB / 1.35 GB, free: 8.848 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.4319, allocations: 375.7 kB / 1.351 GB, free: 8.477 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.432, allocations: 126.9 kB / 1.351 GB, free: 8.352 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.4322, allocations: 118.2 kB / 1.351 GB, free: 8.23 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.4324, allocations: 362.8 kB / 1.351 GB, free: 7.867 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.4327, allocations: 201.1 kB / 1.352 GB, free: 7.668 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004969/0.4332, allocations: 443.9 kB / 1.352 GB, free: 7.121 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008547/0.434, allocations: 0.6876 MB / 1.353 GB, free: 6.316 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.434, allocations: 4 kB / 1.353 GB, free: 6.312 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001289/0.4353, allocations: 0.8131 MB / 1.353 GB, free: 5.477 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.4353, allocations: 8 kB / 1.353 GB, free: 5.469 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.4354, allocations: 8 kB / 1.353 GB, free: 5.461 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000491/0.4358, allocations: 156.9 kB / 1.354 GB, free: 5.293 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/0.4363, allocations: 119.8 kB / 1.354 GB, free: 5.176 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003583/0.4399, allocations: 4.038 MB / 1.358 GB, free: 0.793 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003709/0.4402, allocations: 36.12 kB / 1.358 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.4403, allocations: 28 kB / 1.358 GB, free: 0.7305 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0002948/0.4406, allocations: 217.5 kB / 1.358 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.19e-05/0.4407, allocations: 67.56 kB / 1.358 GB, free: 452 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.4417, allocations: 0.6012 MB / 1.359 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.4418, allocations: 8 kB / 1.359 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4418, allocations: 4 kB / 1.359 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.4418, allocations: 3.984 kB / 1.359 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.4437, allocations: 1.233 MB / 1.36 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4437, allocations: 0 / 1.36 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.4439, allocations: 59.83 kB / 1.36 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000409/0.4443, allocations: 144.4 kB / 1.36 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.4443, allocations: 11.94 kB / 1.36 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003388/0.4477, allocations: 4.026 MB / 1.364 GB, free: 9.883 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4477, allocations: 4.031 kB / 1.364 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.4488, allocations: 0.7119 MB / 1.365 GB, free: 9.113 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.449, allocations: 103.5 kB / 1.365 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-05/0.4491, allocations: 8 kB / 1.365 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.4493, allocations: 19.97 kB / 1.365 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.4494, allocations: 39.81 kB / 1.365 GB, free: 8.945 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.4494, allocations: 8 kB / 1.365 GB, free: 8.938 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003737/0.4498, allocations: 338.8 kB / 1.365 GB, free: 8.609 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4498, allocations: 4 kB / 1.365 GB, free: 8.605 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006449/0.4504, allocations: 144 kB / 1.365 GB, free: 8.465 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0001495/0.4506, allocations: 103.2 kB / 1.365 GB, free: 8.352 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001403/0.452, allocations: 0.8591 MB / 1.366 GB, free: 7.449 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.452, allocations: 0 / 1.366 GB, free: 7.449 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008017/0.4528, allocations: 0.5756 MB / 1.367 GB, free: 6.828 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009458/0.4537, allocations: 217.2 kB / 1.367 GB, free: 6.629 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.4554, allocations: 1.105 MB / 1.368 GB, free: 5.465 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000551/0.456, allocations: 0.9137 MB / 1.369 GB, free: 4.523 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.4561, allocations: 47.42 kB / 1.369 GB, free: 4.477 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.4561, allocations: 0 / 1.369 GB, free: 4.477 MB / 1.061 GB Notification: Performance of Templates: time 0.02241/0.4785, allocations: 18.4 MB / 1.387 GB, free: 2.117 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.436564013012685]