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.001984/0.001984, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002424/0.002424, allocations: 161.7 kB / 23.55 MB, free: 0.8945 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.545/1.545, allocations: 177.1 MB / 203.9 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.913/2.913, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.27e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.008032/0.008065, allocations: 4.628 MB / 0.8153 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005143/0.01321, allocations: 2.406 MB / 0.8177 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005635/0.01377, allocations: 40.59 kB / 0.8177 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.01526, allocations: 403.3 kB / 0.8181 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.0167, allocations: 493.5 kB / 0.8186 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.01784, allocations: 402 kB / 0.8189 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001552/0.01939, allocations: 0.9491 MB / 0.8199 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006812/0.02007, allocations: 324.4 kB / 0.8202 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.0211, allocations: 498.6 kB / 0.8207 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006357/0.02174, allocations: 311 kB / 0.821 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.02184, allocations: 36 kB / 0.821 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008005/0.02264, allocations: 367.5 kB / 0.8213 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.02293, allocations: 188 kB / 0.8215 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004285/0.02336, allocations: 219.4 kB / 0.8217 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.02517, allocations: 0.9007 MB / 0.8226 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.02517, allocations: 0 / 0.8226 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.753e-06/0.02518, allocations: 0 / 0.8226 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.02519, allocations: 0 / 0.8226 GB, free: 5.996 MB / 0.7761 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.001736/0.02692, allocations: 0.897 MB / 0.8235 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.02697, allocations: 12.03 kB / 0.8235 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.0284, allocations: 288.9 kB / 0.8238 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009244/0.02932, allocations: 0.5099 MB / 0.8243 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.02937, allocations: 37.36 kB / 0.8243 GB, free: 4.219 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.02947, allocations: 52.31 kB / 0.8244 GB, free: 4.168 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.03092, allocations: 0.9666 MB / 0.8253 GB, free: 3.043 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.03095, allocations: 9 kB / 0.8253 GB, free: 3.035 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.844e-05/0.03101, allocations: 20.38 kB / 0.8253 GB, free: 3.016 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.03113, allocations: 69.98 kB / 0.8254 GB, free: 2.945 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000982/0.03211, allocations: 0.5628 MB / 0.8259 GB, free: 2.383 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005483/0.0376, allocations: 4.641 MB / 0.8305 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007409/0.03834, allocations: 416.1 kB / 0.8309 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.03869, allocations: 201.8 kB / 0.8311 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.03872, allocations: 8.531 kB / 0.8311 GB, free: 12.94 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.03876, allocations: 38.55 kB / 0.8311 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=32): time 2.084e-06/0.03877, allocations: 1.094 kB / 0.8311 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of matching and sorting (n=33): time 0.00284/0.04161, allocations: 1.152 MB / 0.8322 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.04165, allocations: 51.69 kB / 0.8323 GB, free: 11.66 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006113/0.04227, allocations: 483.3 kB / 0.8327 GB, free: 11.17 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.0423, allocations: 30.3 kB / 0.8328 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.04263, allocations: 364.3 kB / 0.8331 GB, free: 10.78 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.04277, allocations: 132.5 kB / 0.8333 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.04295, allocations: 114.2 kB / 0.8334 GB, free: 10.53 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0004551/0.04341, allocations: 362.7 kB / 0.8337 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.04375, allocations: 193.2 kB / 0.8339 GB, free: 9.98 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006007/0.04435, allocations: 451.8 kB / 0.8343 GB, free: 9.426 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.04539, allocations: 0.6882 MB / 0.835 GB, free: 8.621 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/0.0454, allocations: 7.938 kB / 0.835 GB, free: 8.613 MB / 0.7917 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001603/0.047, allocations: 0.8289 MB / 0.8358 GB, free: 7.762 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.04703, allocations: 8 kB / 0.8358 GB, free: 7.754 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.04705, allocations: 8 kB / 0.8358 GB, free: 7.746 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006413/0.04769, allocations: 164.8 kB / 0.836 GB, free: 7.57 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00049/0.04818, allocations: 123.7 kB / 0.8361 GB, free: 7.449 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004347/0.05252, allocations: 3.974 MB / 0.84 GB, free: 3.172 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.05295, allocations: 36.03 kB / 0.84 GB, free: 3.137 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.678e-05/0.053, allocations: 32 kB / 0.84 GB, free: 3.105 MB / 0.7917 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.0003323/0.05333, allocations: 209.6 kB / 0.8402 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.05348, allocations: 67.67 kB / 0.8403 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.05469, allocations: 0.6005 MB / 0.8409 GB, free: 2.199 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.0547, allocations: 4 kB / 0.8409 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.05471, allocations: 7.938 kB / 0.8409 GB, free: 2.188 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.05471, allocations: 3.984 kB / 0.8409 GB, free: 2.184 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.05676, allocations: 1.114 MB / 0.842 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.05677, allocations: 4 kB / 0.842 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.05704, allocations: 55.89 kB / 0.8421 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005204/0.05756, allocations: 148.4 kB / 0.8422 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.05759, allocations: 8 kB / 0.8422 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004135/0.06173, allocations: 3.958 MB / 0.8461 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.06173, allocations: 4.344 kB / 0.8461 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.06297, allocations: 0.7157 MB / 0.8468 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/0.06322, allocations: 87.58 kB / 0.8469 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.927e-05/0.0633, allocations: 8 kB / 0.8469 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.06358, allocations: 23.97 kB / 0.8469 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-05/0.06367, allocations: 39.83 kB / 0.8469 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.06369, allocations: 8 kB / 0.8469 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004043/0.0641, allocations: 306.9 kB / 0.8472 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.5e-07/0.0641, allocations: 4 kB / 0.8472 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007311/0.06483, allocations: 140 kB / 0.8474 GB, free: 11.13 MB / 0.8073 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.0001755/0.065, allocations: 119.1 kB / 0.8475 GB, free: 11 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.06663, allocations: 0.8497 MB / 0.8483 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/0.06664, allocations: 4 kB / 0.8483 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0009294/0.06757, allocations: 0.5781 MB / 0.8489 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.06861, allocations: 195.4 kB / 0.8491 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.07055, allocations: 1.062 MB / 0.8501 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.07096, allocations: 319.9 kB / 0.8504 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.00035/0.07131, allocations: 109.1 kB / 0.8505 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.07143, allocations: 40.5 kB / 0.8505 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of SimCode: time 5.81e-07/0.07143, allocations: 0 / 0.8505 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of Templates: time 0.01649/0.08792, allocations: 7.826 MB / 0.8582 GB, free: 104 kB / 0.8073 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: 8.145475770928897]