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.001753/0.001753, 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.002305/0.002305, allocations: 208 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.793 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.381/3.381, allocations: 0.4892 GB / 0.7943 GB, free: 35.41 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.002142/0.002142, allocations: 72.47 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3191, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006705/0.3258, allocations: 4.659 MB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004432/0.3302, allocations: 2.452 MB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003677/0.3306, allocations: 39.56 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.3319, allocations: 395 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.333, allocations: 465.6 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009231/0.3339, allocations: 415.7 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001079/0.335, allocations: 0.9216 MB / 1.335 GB, free: 8.551 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005085/0.3355, allocations: 326.3 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005186/0.336, allocations: 358.6 kB / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005164/0.3365, allocations: 342.5 kB / 1.336 GB, free: 7.535 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.945e-05/0.3366, allocations: 36 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006502/0.3372, allocations: 371.1 kB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.3374, allocations: 183.3 kB / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002816/0.3377, allocations: 262.7 kB / 1.336 GB, free: 6.699 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.3388, allocations: 0.8948 MB / 1.337 GB, free: 5.801 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3388, allocations: 0 / 1.337 GB, free: 5.801 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3388, allocations: 0 / 1.337 GB, free: 5.801 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.3388, allocations: 0 / 1.337 GB, free: 5.801 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.001498/0.3403, allocations: 0.9051 MB / 1.338 GB, free: 4.859 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3403, allocations: 8.031 kB / 1.338 GB, free: 4.852 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.3416, allocations: 208.2 kB / 1.338 GB, free: 4.648 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009656/0.3426, allocations: 492.8 kB / 1.339 GB, free: 4.148 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.3426, allocations: 33.38 kB / 1.339 GB, free: 4.117 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.977e-05/0.3427, allocations: 44.36 kB / 1.339 GB, free: 4.074 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.344, allocations: 0.9742 MB / 1.34 GB, free: 2.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.344, allocations: 7.891 kB / 1.34 GB, free: 2.922 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.295e-05/0.344, allocations: 23.98 kB / 1.34 GB, free: 2.898 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.811e-05/0.3441, allocations: 72.89 kB / 1.34 GB, free: 2.828 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009019/0.345, allocations: 0.5695 MB / 1.341 GB, free: 2.258 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004426/0.3495, allocations: 4.631 MB / 1.345 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006882/0.3502, allocations: 427.5 kB / 1.345 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.3505, allocations: 200.7 kB / 1.346 GB, free: 12.82 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.3505, allocations: 4 kB / 1.346 GB, free: 12.82 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.3505, allocations: 42.55 kB / 1.346 GB, free: 12.77 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.3505, allocations: 0 / 1.346 GB, free: 12.77 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002531/0.3531, allocations: 1.128 MB / 1.347 GB, free: 11.61 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.3531, allocations: 63.62 kB / 1.347 GB, free: 11.54 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005268/0.3536, allocations: 482.7 kB / 1.347 GB, free: 11.06 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.3537, allocations: 29.7 kB / 1.347 GB, free: 11.02 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.3539, allocations: 368.2 kB / 1.348 GB, free: 10.66 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.354, allocations: 119 kB / 1.348 GB, free: 10.54 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.3542, allocations: 118.2 kB / 1.348 GB, free: 10.42 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3544, allocations: 370.8 kB / 1.348 GB, free: 10.05 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.3547, allocations: 189.2 kB / 1.348 GB, free: 9.859 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004942/0.3552, allocations: 447.9 kB / 1.349 GB, free: 9.309 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009218/0.3561, allocations: 0.6954 MB / 1.35 GB, free: 8.496 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3561, allocations: 4 kB / 1.35 GB, free: 8.492 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001356/0.3575, allocations: 0.7981 MB / 1.35 GB, free: 7.672 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.3575, allocations: 8.188 kB / 1.35 GB, free: 7.664 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.3575, allocations: 16 kB / 1.35 GB, free: 7.648 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004987/0.358, allocations: 152.1 kB / 1.351 GB, free: 7.484 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004716/0.3585, allocations: 119.8 kB / 1.351 GB, free: 7.367 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003557/0.362, allocations: 3.969 MB / 1.355 GB, free: 3.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/0.3624, allocations: 39.91 kB / 1.355 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.3625, allocations: 28 kB / 1.355 GB, free: 3.023 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.0002774/0.3628, allocations: 209.6 kB / 1.355 GB, free: 2.809 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.457e-05/0.3628, allocations: 63.56 kB / 1.355 GB, free: 2.746 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.364, allocations: 0.5966 MB / 1.355 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.364, allocations: 8.062 kB / 1.355 GB, free: 2.121 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.364, allocations: 0 / 1.355 GB, free: 2.121 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.364, allocations: 0 / 1.355 GB, free: 2.121 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.3658, allocations: 1.129 MB / 1.357 GB, free: 0.918 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3659, allocations: 4 kB / 1.357 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.3661, allocations: 55.89 kB / 1.357 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004222/0.3665, allocations: 140.4 kB / 1.357 GB, free: 0.707 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.3666, allocations: 8 kB / 1.357 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003439/0.37, allocations: 3.965 MB / 1.361 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.37, allocations: 3.938 kB / 1.361 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.3711, allocations: 0.7004 MB / 1.361 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.3714, allocations: 95.52 kB / 1.361 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.542e-05/0.3714, allocations: 11.94 kB / 1.361 GB, free: 11.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.3717, allocations: 23.97 kB / 1.361 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.573e-05/0.3718, allocations: 39.88 kB / 1.361 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.3718, allocations: 12 kB / 1.361 GB, free: 11.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003659/0.3722, allocations: 306.9 kB / 1.362 GB, free: 11.19 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3722, allocations: 0 / 1.362 GB, free: 11.19 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000689/0.3729, allocations: 136 kB / 1.362 GB, free: 11.05 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.0001559/0.373, allocations: 120.7 kB / 1.362 GB, free: 10.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00142/0.3745, allocations: 0.8472 MB / 1.363 GB, free: 10.04 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3745, allocations: 0 / 1.363 GB, free: 10.04 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008362/0.3753, allocations: 0.5803 MB / 1.363 GB, free: 9.414 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009906/0.3763, allocations: 192 kB / 1.364 GB, free: 9.23 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.3779, allocations: 1.054 MB / 1.365 GB, free: 8.121 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.3783, allocations: 319.9 kB / 1.365 GB, free: 7.777 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003116/0.3786, allocations: 109.1 kB / 1.365 GB, free: 7.668 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.345e-05/0.3787, allocations: 39.44 kB / 1.365 GB, free: 7.633 MB / 1.061 GB Notification: Performance of SimCode: time 6.31e-07/0.3787, allocations: 0 / 1.365 GB, free: 7.633 MB / 1.061 GB Notification: Performance of Templates: time 0.01628/0.395, allocations: 8.526 MB / 1.373 GB, free: 15.32 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/jenkins/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.35155664384365]