Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001495/0.001495, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.00244/0.00244, allocations: 161.6 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.551/1.551, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.669/2.669, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.05e-05, allocations: 6.922 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.008434/0.008464, allocations: 4.626 MB / 0.7909 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005365/0.01383, allocations: 2.421 MB / 0.7932 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006191/0.01445, allocations: 39.56 kB / 0.7933 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.01602, allocations: 401.8 kB / 0.7937 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.01765, allocations: 492.8 kB / 0.7941 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.0188, allocations: 403.3 kB / 0.7945 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001552/0.02035, allocations: 0.9486 MB / 0.7954 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007013/0.02105, allocations: 330.3 kB / 0.7958 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.02206, allocations: 491.6 kB / 0.7962 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006432/0.02271, allocations: 308.2 kB / 0.7965 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.02282, allocations: 36 kB / 0.7966 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000774/0.02359, allocations: 364.5 kB / 0.7969 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002822/0.02387, allocations: 195.3 kB / 0.7971 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003735/0.02425, allocations: 215.4 kB / 0.7973 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.02573, allocations: 0.9072 MB / 0.7982 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.02573, allocations: 0.5312 kB / 0.7982 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.382e-06/0.02574, allocations: 3.938 kB / 0.7982 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.461e-05/0.02577, allocations: 0.5312 kB / 0.7982 GB, free: 0.7148 MB / 0.7448 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.002013/0.02778, allocations: 0.8805 MB / 0.799 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.02783, allocations: 9.406 kB / 0.7991 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/0.02946, allocations: 297.2 kB / 0.7993 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.03051, allocations: 0.513 MB / 0.7998 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.03056, allocations: 33.36 kB / 0.7999 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.03067, allocations: 52.31 kB / 0.7999 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.03241, allocations: 0.9742 MB / 0.8009 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/0.03244, allocations: 5.312 kB / 0.8009 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.019e-05/0.0325, allocations: 20.38 kB / 0.8009 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/0.03262, allocations: 72.89 kB / 0.801 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.03368, allocations: 0.5641 MB / 0.8015 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005412/0.0391, allocations: 4.634 MB / 0.806 GB, free: 8.285 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007631/0.03986, allocations: 426.2 kB / 0.8064 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/0.04021, allocations: 201.3 kB / 0.8066 GB, free: 7.66 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.04024, allocations: 4.938 kB / 0.8066 GB, free: 7.656 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.04029, allocations: 38.55 kB / 0.8067 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 2.335e-06/0.04029, allocations: 1.031 kB / 0.8067 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.003118/0.04341, allocations: 1.141 MB / 0.8078 GB, free: 6.449 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.04346, allocations: 56.19 kB / 0.8078 GB, free: 6.383 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00061/0.04407, allocations: 479.4 kB / 0.8083 GB, free: 5.902 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.04411, allocations: 33.7 kB / 0.8083 GB, free: 5.863 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.04443, allocations: 365.6 kB / 0.8087 GB, free: 5.504 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.04457, allocations: 126.9 kB / 0.8088 GB, free: 5.379 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.04475, allocations: 114.2 kB / 0.8089 GB, free: 5.262 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002525/0.045, allocations: 370.7 kB / 0.8093 GB, free: 4.891 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.04535, allocations: 193.2 kB / 0.8095 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006375/0.04599, allocations: 451.3 kB / 0.8099 GB, free: 4.148 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.04704, allocations: 0.6841 MB / 0.8106 GB, free: 3.348 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.04704, allocations: 0 / 0.8106 GB, free: 3.348 MB / 0.7605 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001608/0.04865, allocations: 0.8335 MB / 0.8114 GB, free: 2.492 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.04867, allocations: 12 kB / 0.8114 GB, free: 2.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.04869, allocations: 16.03 kB / 0.8114 GB, free: 2.465 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005882/0.04928, allocations: 156.1 kB / 0.8115 GB, free: 2.297 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/0.04978, allocations: 123.8 kB / 0.8117 GB, free: 2.176 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004523/0.0543, allocations: 3.973 MB / 0.8155 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.0547, allocations: 35.97 kB / 0.8156 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.05475, allocations: 24 kB / 0.8156 GB, free: 13.84 MB / 0.7761 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.0003061/0.05506, allocations: 209.6 kB / 0.8158 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.05519, allocations: 71.72 kB / 0.8159 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.05643, allocations: 0.6002 MB / 0.8165 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.05643, allocations: 4 kB / 0.8165 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.05644, allocations: 7.938 kB / 0.8165 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.05645, allocations: 3.984 kB / 0.8165 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.05849, allocations: 1.113 MB / 0.8176 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.05849, allocations: 0 / 0.8176 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/0.05878, allocations: 64.11 kB / 0.8176 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004873/0.05926, allocations: 148.2 kB / 0.8178 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.05929, allocations: 4 kB / 0.8178 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004311/0.0636, allocations: 3.958 MB / 0.8216 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.06361, allocations: 0 / 0.8216 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.06482, allocations: 0.7162 MB / 0.8223 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.06503, allocations: 83.59 kB / 0.8224 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.125e-05/0.0651, allocations: 11.98 kB / 0.8224 GB, free: 6.371 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.06539, allocations: 31.97 kB / 0.8224 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.315e-05/0.06548, allocations: 39.81 kB / 0.8225 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.06551, allocations: 8 kB / 0.8225 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003984/0.06591, allocations: 315 kB / 0.8228 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.06591, allocations: 0 / 0.8228 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007007/0.06661, allocations: 144 kB / 0.8229 GB, free: 5.848 MB / 0.7761 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.0001617/0.06677, allocations: 111.1 kB / 0.823 GB, free: 5.727 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001581/0.06835, allocations: 0.8545 MB / 0.8239 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.06835, allocations: 128 / 0.8239 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0009287/0.06928, allocations: 0.5716 MB / 0.8244 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.0703, allocations: 189.4 kB / 0.8246 GB, free: 4.031 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.07221, allocations: 1.069 MB / 0.8257 GB, free: 2.906 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.0726, allocations: 311.9 kB / 0.826 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003426/0.07294, allocations: 117.1 kB / 0.8261 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.07305, allocations: 36.5 kB / 0.8261 GB, free: 2.422 MB / 0.7761 GB Notification: Performance of SimCode: time 7.31e-07/0.07305, allocations: 4 kB / 0.8261 GB, free: 2.418 MB / 0.7761 GB Notification: Performance of Templates: time 0.01652/0.08957, allocations: 7.817 MB / 0.8337 GB, free: 10.83 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.9011464030481875]