Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0014/0.0014, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00167/0.00167, allocations: 215.4 kB / 22.24 MB, free: 5.262 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.357/3.357, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002364/0.002364, allocations: 63.34 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3677, allocations: 181.9 MB / 1.364 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007964/0.3756, allocations: 4.661 MB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004988/0.3806, allocations: 2.448 MB / 1.371 GB, free: 6.598 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006638/0.3813, allocations: 35.62 kB / 1.371 GB, free: 6.562 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.3828, allocations: 405.8 kB / 1.371 GB, free: 6.164 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.3842, allocations: 473.6 kB / 1.372 GB, free: 5.699 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.3853, allocations: 405.7 kB / 1.372 GB, free: 5.305 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001374/0.3867, allocations: 0.9217 MB / 1.373 GB, free: 4.379 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006448/0.3873, allocations: 318.4 kB / 1.373 GB, free: 4.059 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000759/0.3881, allocations: 362.6 kB / 1.374 GB, free: 3.703 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006924/0.3888, allocations: 346.4 kB / 1.374 GB, free: 3.363 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.3889, allocations: 36 kB / 1.374 GB, free: 3.328 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007545/0.3897, allocations: 363.2 kB / 1.374 GB, free: 2.973 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.3899, allocations: 187.3 kB / 1.374 GB, free: 2.789 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003641/0.3903, allocations: 262.6 kB / 1.375 GB, free: 2.531 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.3916, allocations: 0.8987 MB / 1.376 GB, free: 1.629 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3916, allocations: 0 / 1.376 GB, free: 1.629 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3916, allocations: 0 / 1.376 GB, free: 1.629 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.314e-05/0.3916, allocations: 0 / 1.376 GB, free: 1.629 MB / 1.061 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.001633/0.3933, allocations: 0.8935 MB / 1.376 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3933, allocations: 11.97 kB / 1.376 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.3946, allocations: 212.2 kB / 1.377 GB, free: 492 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009473/0.3955, allocations: 496.8 kB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.3956, allocations: 33.38 kB / 1.377 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.837e-05/0.3957, allocations: 44.36 kB / 1.377 GB, free: 15.9 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.3969, allocations: 0.974 MB / 1.378 GB, free: 14.77 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.3969, allocations: 11.92 kB / 1.378 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/0.397, allocations: 23.98 kB / 1.378 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.51e-05/0.3971, allocations: 64.95 kB / 1.378 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009122/0.398, allocations: 0.5695 MB / 1.379 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004525/0.4025, allocations: 4.635 MB / 1.383 GB, free: 9.277 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006762/0.4032, allocations: 426.3 kB / 1.384 GB, free: 8.852 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.4035, allocations: 204.7 kB / 1.384 GB, free: 8.648 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.4035, allocations: 4 kB / 1.384 GB, free: 8.645 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.4036, allocations: 30.56 kB / 1.384 GB, free: 8.605 MB / 1.076 GB Notification: Performance of pre-optimization done (n=32): time 2.084e-06/0.4036, allocations: 3.938 kB / 1.384 GB, free: 8.602 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.0025/0.4061, allocations: 1.141 MB / 1.385 GB, free: 7.438 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.4061, allocations: 55.62 kB / 1.385 GB, free: 7.371 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000536/0.4067, allocations: 486.7 kB / 1.386 GB, free: 6.887 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.4067, allocations: 29.7 kB / 1.386 GB, free: 6.852 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.407, allocations: 368.2 kB / 1.386 GB, free: 6.484 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.4071, allocations: 123 kB / 1.386 GB, free: 6.363 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.4073, allocations: 114.2 kB / 1.386 GB, free: 6.246 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002068/0.4075, allocations: 362.8 kB / 1.387 GB, free: 5.883 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/0.4078, allocations: 193.2 kB / 1.387 GB, free: 5.691 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.4083, allocations: 451 kB / 1.387 GB, free: 5.137 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009117/0.4092, allocations: 0.6916 MB / 1.388 GB, free: 4.328 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4092, allocations: 0 / 1.388 GB, free: 4.328 MB / 1.076 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001385/0.4106, allocations: 0.8136 MB / 1.389 GB, free: 3.492 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.4106, allocations: 16.22 kB / 1.389 GB, free: 3.477 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.4106, allocations: 8 kB / 1.389 GB, free: 3.469 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000509/0.4112, allocations: 140.2 kB / 1.389 GB, free: 3.316 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004733/0.4116, allocations: 127.7 kB / 1.389 GB, free: 3.191 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003705/0.4153, allocations: 3.973 MB / 1.393 GB, free: 14.91 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.4157, allocations: 39.97 kB / 1.393 GB, free: 14.87 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/0.4157, allocations: 28 kB / 1.393 GB, free: 14.84 MB / 1.092 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.0002868/0.416, allocations: 211.8 kB / 1.393 GB, free: 14.63 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.312e-05/0.4161, allocations: 63.56 kB / 1.393 GB, free: 14.57 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.4172, allocations: 0.5887 MB / 1.394 GB, free: 13.96 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4172, allocations: 8.094 kB / 1.394 GB, free: 13.95 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.4172, allocations: 0 / 1.394 GB, free: 13.95 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4172, allocations: 4 kB / 1.394 GB, free: 13.95 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.4191, allocations: 1.117 MB / 1.395 GB, free: 12.75 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4191, allocations: 4 kB / 1.395 GB, free: 12.75 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.4194, allocations: 51.89 kB / 1.395 GB, free: 12.7 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/0.4198, allocations: 156.3 kB / 1.395 GB, free: 12.53 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.4198, allocations: 8 kB / 1.395 GB, free: 12.52 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003632/0.4235, allocations: 3.958 MB / 1.399 GB, free: 8.258 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.4235, allocations: 7.875 kB / 1.399 GB, free: 8.25 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.4246, allocations: 0.7005 MB / 1.4 GB, free: 7.496 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/0.4249, allocations: 87.58 kB / 1.4 GB, free: 7.41 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.818e-05/0.4249, allocations: 8 kB / 1.4 GB, free: 7.402 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.4252, allocations: 23.97 kB / 1.4 GB, free: 7.379 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/0.4252, allocations: 35.83 kB / 1.4 GB, free: 7.344 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.4253, allocations: 12 kB / 1.4 GB, free: 7.332 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003587/0.4256, allocations: 310.9 kB / 1.4 GB, free: 7.031 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/0.4256, allocations: 0 / 1.4 GB, free: 7.031 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006487/0.4263, allocations: 136 kB / 1.4 GB, free: 6.898 MB / 1.092 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.0001519/0.4264, allocations: 123 kB / 1.4 GB, free: 6.77 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001431/0.4279, allocations: 0.855 MB / 1.401 GB, free: 5.871 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4279, allocations: 0 / 1.401 GB, free: 5.871 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008479/0.4287, allocations: 0.5766 MB / 1.402 GB, free: 5.25 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009487/0.4297, allocations: 189.6 kB / 1.402 GB, free: 5.07 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.4315, allocations: 1.073 MB / 1.403 GB, free: 3.945 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.4318, allocations: 311.9 kB / 1.403 GB, free: 3.613 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003364/0.4322, allocations: 113.1 kB / 1.403 GB, free: 3.5 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.77e-05/0.4323, allocations: 39.44 kB / 1.403 GB, free: 3.461 MB / 1.092 GB Notification: Performance of SimCode: time 9.72e-07/0.4323, allocations: 0 / 1.403 GB, free: 3.461 MB / 1.092 GB Notification: Performance of Templates: time 0.01649/0.4488, allocations: 8.501 MB / 1.412 GB, free: 11.16 MB / 1.107 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.463373936712742]