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.0009734/0.0009734, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001104/0.001104, allocations: 166 kB / 24.87 MB, free: 9.258 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.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 1.827/1.827, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",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.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.51e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003575/0.00359, allocations: 3.794 MB / 0.792 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.005664, allocations: 1.404 MB / 0.7934 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.005906, allocations: 35.62 kB / 0.7934 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004707/0.006377, allocations: 167.4 kB / 0.7936 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005013/0.006878, allocations: 358.1 kB / 0.7939 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.007317, allocations: 347.3 kB / 0.7942 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000773/0.00809, allocations: 0.9563 MB / 0.7952 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004197/0.00851, allocations: 318.4 kB / 0.7955 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004892/0.008999, allocations: 0.4908 MB / 0.796 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000362/0.009361, allocations: 333.6 kB / 0.7963 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.009405, allocations: 39.98 kB / 0.7963 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.009564, allocations: 103.9 kB / 0.7964 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.009688, allocations: 187.4 kB / 0.7966 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.009836, allocations: 207.9 kB / 0.7968 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004246/0.01026, allocations: 0.5105 MB / 0.7973 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.01026, allocations: 0 / 0.7973 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.01026, allocations: 4.469 kB / 0.7973 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.01027, allocations: 1.625 kB / 0.7973 GB, free: 3.012 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.0007925/0.01106, allocations: 0.9604 MB / 0.7982 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.01109, allocations: 8.031 kB / 0.7982 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005372/0.01163, allocations: 209 kB / 0.7984 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/0.01222, allocations: 0.5065 MB / 0.7989 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.01224, allocations: 35.23 kB / 0.799 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.01229, allocations: 48.36 kB / 0.799 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005158/0.01281, allocations: 0.8221 MB / 0.7998 GB, free: 172 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.01283, allocations: 12.08 kB / 0.7998 GB, free: 160 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.01286, allocations: 20.38 kB / 0.7999 GB, free: 140 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.06e-05/0.01292, allocations: 70.08 kB / 0.7999 GB, free: 68 kB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.01317, allocations: 252 kB / 0.8002 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.01576, allocations: 6.168 MB / 0.8062 GB, free: 9.434 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.01601, allocations: 258.2 kB / 0.8064 GB, free: 9.172 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.216e-05/0.01609, allocations: 83.64 kB / 0.8065 GB, free: 9.086 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.01611, allocations: 8 kB / 0.8065 GB, free: 9.078 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.01613, allocations: 33.39 kB / 0.8065 GB, free: 9.035 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 2.104e-06/0.01614, allocations: 0 / 0.8065 GB, free: 9.035 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.0009196/0.01706, allocations: 0.5658 MB / 0.8071 GB, free: 8.441 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.01708, allocations: 55.69 kB / 0.8072 GB, free: 8.375 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.01734, allocations: 0.4942 MB / 0.8076 GB, free: 7.863 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.01735, allocations: 33.7 kB / 0.8077 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.01752, allocations: 430.9 kB / 0.8081 GB, free: 7.395 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.385e-05/0.01759, allocations: 119 kB / 0.8082 GB, free: 7.277 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.01769, allocations: 123.8 kB / 0.8083 GB, free: 7.148 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.01782, allocations: 0.539 MB / 0.8088 GB, free: 6.598 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.365e-05/0.0179, allocations: 73.25 kB / 0.8089 GB, free: 6.527 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.01813, allocations: 430.8 kB / 0.8093 GB, free: 5.945 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.01848, allocations: 0.5583 MB / 0.8099 GB, free: 5.227 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01848, allocations: 0 / 0.8099 GB, free: 5.227 MB / 0.7605 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000549/0.01903, allocations: 0.5583 MB / 0.8104 GB, free: 4.641 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.01905, allocations: 11.98 kB / 0.8104 GB, free: 4.629 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.01905, allocations: 8 kB / 0.8104 GB, free: 4.621 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002555/0.01931, allocations: 134.3 kB / 0.8106 GB, free: 4.469 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.01953, allocations: 103.8 kB / 0.8107 GB, free: 4.367 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/0.02159, allocations: 5.171 MB / 0.8157 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.02176, allocations: 23.98 kB / 0.8157 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.02178, allocations: 27.94 kB / 0.8158 GB, free: 14.8 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.0001296/0.02191, allocations: 196.4 kB / 0.8159 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.805e-05/0.02197, allocations: 75.62 kB / 0.816 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.02234, allocations: 345.1 kB / 0.8163 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.02234, allocations: 4 kB / 0.8163 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.02235, allocations: 0 / 0.8163 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.02235, allocations: 0 / 0.8163 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007181/0.02307, allocations: 0.7948 MB / 0.8171 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.02307, allocations: 4 kB / 0.8171 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.02318, allocations: 48.12 kB / 0.8172 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002047/0.02339, allocations: 110.3 kB / 0.8173 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.0234, allocations: 8 kB / 0.8173 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.02526, allocations: 5.172 MB / 0.8223 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.02527, allocations: 3.938 kB / 0.8223 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00043/0.0257, allocations: 0.5429 MB / 0.8229 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.345e-05/0.02579, allocations: 79.58 kB / 0.8229 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.02582, allocations: 8 kB / 0.823 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.02592, allocations: 4 kB / 0.823 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.02598, allocations: 39.95 kB / 0.823 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.02599, allocations: 12 kB / 0.823 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001393/0.02613, allocations: 302.7 kB / 0.8233 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.3e-07/0.02613, allocations: 0 / 0.8233 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003547/0.02649, allocations: 140 kB / 0.8234 GB, free: 6.391 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.0001002/0.02659, allocations: 111.2 kB / 0.8235 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005789/0.02717, allocations: 0.8118 MB / 0.8243 GB, free: 5.395 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.02717, allocations: 3.938 kB / 0.8243 GB, free: 5.391 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003308/0.0275, allocations: 0.6371 MB / 0.825 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/0.02804, allocations: 198 kB / 0.8251 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.02906, allocations: 0.9864 MB / 0.8261 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.843e-05/0.02915, allocations: 158 kB / 0.8263 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001489/0.0293, allocations: 69.12 kB / 0.8263 GB, free: 3.203 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/0.02961, allocations: 218.1 kB / 0.8265 GB, free: 2.988 MB / 0.7761 GB Notification: Performance of SimCode: time 7.32e-07/0.02961, allocations: 0 / 0.8265 GB, free: 2.988 MB / 0.7761 GB Notification: Performance of Templates: time 0.01006/0.03967, allocations: 8.552 MB / 0.8349 GB, free: 10.68 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.057211383711547]