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.001656/0.001656, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002086/0.002086, allocations: 208.2 kB / 22.99 MB, free: 4.984 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.274/3.274, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.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.002077/0.002077, allocations: 67.61 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3528, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007572/0.3603, allocations: 4.66 MB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004797/0.3651, allocations: 2.444 MB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004119/0.3656, allocations: 35.62 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.3668, allocations: 401.9 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.368, allocations: 477.5 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000979/0.369, allocations: 405.4 kB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001186/0.3702, allocations: 0.9256 MB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005396/0.3707, allocations: 322.3 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005612/0.3713, allocations: 362.6 kB / 1.337 GB, free: 6.953 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005265/0.3718, allocations: 366.5 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.73e-05/0.3719, allocations: 36 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006983/0.3726, allocations: 367.2 kB / 1.338 GB, free: 6.199 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.3728, allocations: 179.3 kB / 1.338 GB, free: 6.023 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002929/0.3731, allocations: 270.6 kB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.3742, allocations: 0.8909 MB / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.3742, allocations: 4 kB / 1.339 GB, free: 4.859 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3742, allocations: 0 / 1.339 GB, free: 4.859 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.3742, allocations: 0 / 1.339 GB, free: 4.859 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.001537/0.3758, allocations: 0.9012 MB / 1.34 GB, free: 3.922 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3758, allocations: 8.031 kB / 1.34 GB, free: 3.914 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.3771, allocations: 212.2 kB / 1.34 GB, free: 3.707 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009688/0.3781, allocations: 492.8 kB / 1.34 GB, free: 3.203 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.554e-05/0.3781, allocations: 37.36 kB / 1.34 GB, free: 3.168 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.347e-05/0.3782, allocations: 40.38 kB / 1.341 GB, free: 3.129 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.3795, allocations: 0.9742 MB / 1.341 GB, free: 1.988 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.3795, allocations: 11.89 kB / 1.341 GB, free: 1.977 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.353e-05/0.3796, allocations: 23.98 kB / 1.341 GB, free: 1.953 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.3e-05/0.3797, allocations: 64.95 kB / 1.342 GB, free: 1.891 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008928/0.3806, allocations: 0.5656 MB / 1.342 GB, free: 1.324 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004626/0.3852, allocations: 4.635 MB / 1.347 GB, free: 12.51 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/0.3859, allocations: 428.4 kB / 1.347 GB, free: 12.08 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.3862, allocations: 200.7 kB / 1.347 GB, free: 11.88 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.3862, allocations: 4 kB / 1.347 GB, free: 11.88 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.3863, allocations: 38.55 kB / 1.347 GB, free: 11.83 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 1.984e-06/0.3863, allocations: 0 / 1.347 GB, free: 11.83 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002605/0.3889, allocations: 1.136 MB / 1.348 GB, free: 10.67 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.3889, allocations: 55.62 kB / 1.348 GB, free: 10.61 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/0.3894, allocations: 482.7 kB / 1.349 GB, free: 10.12 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.3895, allocations: 29.7 kB / 1.349 GB, free: 10.09 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003145/0.3898, allocations: 376.2 kB / 1.349 GB, free: 9.715 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.3899, allocations: 119 kB / 1.349 GB, free: 9.598 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.3901, allocations: 114.2 kB / 1.35 GB, free: 9.48 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.3903, allocations: 366.8 kB / 1.35 GB, free: 9.113 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.3906, allocations: 193.2 kB / 1.35 GB, free: 8.922 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/0.3911, allocations: 455.8 kB / 1.35 GB, free: 8.363 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009133/0.392, allocations: 0.6915 MB / 1.351 GB, free: 7.555 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.392, allocations: 0 / 1.351 GB, free: 7.555 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001346/0.3934, allocations: 0.8021 MB / 1.352 GB, free: 6.73 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.3934, allocations: 9.719 kB / 1.352 GB, free: 6.723 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.3934, allocations: 12.16 kB / 1.352 GB, free: 6.711 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005903/0.394, allocations: 152.1 kB / 1.352 GB, free: 6.547 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004559/0.3944, allocations: 119.8 kB / 1.352 GB, free: 6.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004063/0.3985, allocations: 3.973 MB / 1.356 GB, free: 2.148 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003596/0.3989, allocations: 31.97 kB / 1.356 GB, free: 2.117 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/0.3989, allocations: 32 kB / 1.356 GB, free: 2.086 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.0002812/0.3992, allocations: 209.5 kB / 1.356 GB, free: 1.871 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/0.3993, allocations: 63.56 kB / 1.356 GB, free: 1.809 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.4003, allocations: 0.5928 MB / 1.357 GB, free: 1.195 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.4003, allocations: 4.062 kB / 1.357 GB, free: 1.191 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.4003, allocations: 8 kB / 1.357 GB, free: 1.184 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4003, allocations: 0 / 1.357 GB, free: 1.184 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.4022, allocations: 1.126 MB / 1.358 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.4022, allocations: 7.984 kB / 1.358 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.4025, allocations: 51.95 kB / 1.358 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/0.4029, allocations: 148.3 kB / 1.358 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.403, allocations: 12 kB / 1.358 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003479/0.4064, allocations: 3.957 MB / 1.362 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.4064, allocations: 3.938 kB / 1.362 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.4075, allocations: 0.7006 MB / 1.363 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.4078, allocations: 91.58 kB / 1.363 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.256e-05/0.4078, allocations: 8 kB / 1.363 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.4081, allocations: 23.97 kB / 1.363 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.315e-05/0.4082, allocations: 31.89 kB / 1.363 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.4082, allocations: 15.98 kB / 1.363 GB, free: 10.56 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003568/0.4085, allocations: 302.9 kB / 1.363 GB, free: 10.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4085, allocations: 0 / 1.363 GB, free: 10.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006604/0.4092, allocations: 140 kB / 1.363 GB, free: 10.13 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.0001699/0.4094, allocations: 124 kB / 1.364 GB, free: 10 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001437/0.4108, allocations: 0.8551 MB / 1.364 GB, free: 9.105 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.4108, allocations: 0 / 1.364 GB, free: 9.105 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008396/0.4116, allocations: 0.5763 MB / 1.365 GB, free: 8.484 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009332/0.4126, allocations: 193.9 kB / 1.365 GB, free: 8.301 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.4143, allocations: 1.066 MB / 1.366 GB, free: 7.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.4147, allocations: 315.9 kB / 1.366 GB, free: 6.844 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003155/0.415, allocations: 109.1 kB / 1.367 GB, free: 6.734 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.476e-05/0.4151, allocations: 39.44 kB / 1.367 GB, free: 6.695 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.4151, allocations: 0 / 1.367 GB, free: 6.695 MB / 1.061 GB Notification: Performance of Templates: time 0.01561/0.4307, allocations: 8.703 MB / 1.375 GB, free: 14.2 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 -s cvode -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: 9.338745961998939]