Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.00168/0.00168, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002539/0.002539, allocations: 206.6 kB / 23 MB, free: 4.574 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.302/3.302, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001987/0.001987, allocations: 71.88 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3773, allocations: 180.2 MB / 1.354 GB, free: 7.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02166/0.3989, allocations: 16.79 MB / 1.37 GB, free: 7.129 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009507/0.4084, allocations: 5.004 MB / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/0.4101, allocations: 95.31 kB / 1.375 GB, free: 2.016 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003226/0.4133, allocations: 1.091 MB / 1.377 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.4155, allocations: 0.7776 MB / 1.377 GB, free: 144 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.4182, allocations: 0.9602 MB / 1.378 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004694/0.4229, allocations: 3.618 MB / 1.382 GB, free: 11.55 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003557/0.4265, allocations: 2.462 MB / 1.384 GB, free: 9.02 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002644/0.4291, allocations: 1.621 MB / 1.386 GB, free: 7.395 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002911/0.432, allocations: 1.881 MB / 1.388 GB, free: 5.508 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004898/0.4325, allocations: 340 kB / 1.388 GB, free: 5.176 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.4342, allocations: 0.8153 MB / 1.389 GB, free: 4.359 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001568/0.4358, allocations: 1.356 MB / 1.39 GB, free: 3 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001801/0.4376, allocations: 1.459 MB / 1.391 GB, free: 1.535 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005864/0.4434, allocations: 5.144 MB / 1.396 GB, free: 12.37 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4434, allocations: 0 / 1.396 GB, free: 12.37 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4434, allocations: 0 / 1.396 GB, free: 12.37 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001043/0.4435, allocations: 4 kB / 1.396 GB, free: 12.37 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005405/0.4489, allocations: 2.634 MB / 1.399 GB, free: 9.688 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.449, allocations: 15.97 kB / 1.399 GB, free: 9.672 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003953/0.4529, allocations: 0.8459 MB / 1.4 GB, free: 8.824 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003726/0.4567, allocations: 1.531 MB / 1.401 GB, free: 7.262 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.4568, allocations: 181.1 kB / 1.402 GB, free: 7.082 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004549/0.4573, allocations: 232.3 kB / 1.402 GB, free: 6.855 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007472/0.4648, allocations: 4.158 MB / 1.406 GB, free: 2.559 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.886e-05/0.4648, allocations: 3.938 kB / 1.406 GB, free: 2.555 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002686/0.4651, allocations: 108 kB / 1.406 GB, free: 2.449 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000207/0.4653, allocations: 168.5 kB / 1.406 GB, free: 2.281 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006295/0.4716, allocations: 3.64 MB / 1.41 GB, free: 14.62 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02074/0.4923, allocations: 15.61 MB / 1.425 GB, free: 13.74 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003114/0.4954, allocations: 1.488 MB / 1.426 GB, free: 12.23 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008977/0.4963, allocations: 0.5452 MB / 1.427 GB, free: 11.68 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.4964, allocations: 16.64 kB / 1.427 GB, free: 11.66 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.4965, allocations: 47.22 kB / 1.427 GB, free: 11.61 MB / 1.123 GB Notification: Performance of pre-optimization done (n=72): time 2.785e-06/0.4965, allocations: 0 / 1.427 GB, free: 11.61 MB / 1.123 GB Notification: Performance of matching and sorting (n=76): time 0.005697/0.5022, allocations: 3.205 MB / 1.43 GB, free: 8.383 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.162e-05/0.5023, allocations: 119.4 kB / 1.43 GB, free: 8.238 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.5037, allocations: 1.018 MB / 1.431 GB, free: 7.195 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.367e-05/0.5037, allocations: 37.7 kB / 1.431 GB, free: 7.152 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008527/0.5046, allocations: 1.142 MB / 1.432 GB, free: 5.996 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/0.5049, allocations: 293.6 kB / 1.433 GB, free: 5.707 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004133/0.5053, allocations: 279.4 kB / 1.433 GB, free: 5.426 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002406/0.5055, allocations: 406.7 kB / 1.433 GB, free: 5.02 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009748/0.5065, allocations: 0.6207 MB / 1.434 GB, free: 4.398 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.508, allocations: 1.182 MB / 1.435 GB, free: 2.953 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/0.5104, allocations: 1.876 MB / 1.437 GB, free: 0.8125 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.5104, allocations: 8 kB / 1.437 GB, free: 0.8047 MB / 1.123 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003423/0.5139, allocations: 2.019 MB / 1.439 GB, free: 14.77 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.5139, allocations: 15.98 kB / 1.439 GB, free: 14.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.64e-05/0.5139, allocations: 20 kB / 1.439 GB, free: 14.73 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004508/0.5144, allocations: 163.9 kB / 1.439 GB, free: 14.56 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.5155, allocations: 339.4 kB / 1.439 GB, free: 14.23 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.801e-05/0.5156, allocations: 39.86 kB / 1.439 GB, free: 14.19 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.5166, allocations: 131.7 kB / 1.44 GB, free: 14.06 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.5167, allocations: 64 kB / 1.44 GB, free: 14 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001622/0.5183, allocations: 0.9894 MB / 1.441 GB, free: 13 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000272/0.5186, allocations: 115.3 kB / 1.441 GB, free: 12.88 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.5209, allocations: 1.218 MB / 1.442 GB, free: 11.65 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.5209, allocations: 15.92 kB / 1.442 GB, free: 11.63 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.5209, allocations: 0 / 1.442 GB, free: 11.63 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.5209, allocations: 3.984 kB / 1.442 GB, free: 11.63 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006578/0.5275, allocations: 3.776 MB / 1.446 GB, free: 7.707 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.5275, allocations: 0 / 1.446 GB, free: 7.707 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006454/0.5281, allocations: 159.8 kB / 1.446 GB, free: 7.551 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000372/0.5285, allocations: 139.6 kB / 1.446 GB, free: 7.402 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.061e-05/0.5286, allocations: 24 kB / 1.446 GB, free: 7.379 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/0.5286, allocations: 11.88 kB / 1.446 GB, free: 7.367 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.5286, allocations: 4 kB / 1.446 GB, free: 7.363 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.5308, allocations: 1.474 MB / 1.447 GB, free: 5.84 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000598/0.5314, allocations: 207.1 kB / 1.448 GB, free: 5.637 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.5315, allocations: 20 kB / 1.448 GB, free: 5.617 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005689/0.5321, allocations: 63.84 kB / 1.448 GB, free: 5.555 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.5322, allocations: 60.48 kB / 1.448 GB, free: 5.492 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.087e-05/0.5323, allocations: 24 kB / 1.448 GB, free: 5.469 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001008/0.5333, allocations: 0.6953 MB / 1.448 GB, free: 4.762 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.5333, allocations: 7.938 kB / 1.448 GB, free: 4.754 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001475/0.5348, allocations: 388 kB / 1.449 GB, free: 4.375 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002432/0.535, allocations: 119.1 kB / 1.449 GB, free: 4.25 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002449/0.5374, allocations: 1.366 MB / 1.45 GB, free: 2.875 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.5374, allocations: 6 kB / 1.45 GB, free: 2.871 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009024/0.5384, allocations: 0.5267 MB / 1.451 GB, free: 2.332 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.5398, allocations: 265.3 kB / 1.451 GB, free: 2.074 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007912/0.5477, allocations: 4.204 MB / 1.455 GB, free: 13.8 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002125/0.5499, allocations: 1.966 MB / 1.457 GB, free: 11.8 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000424/0.5503, allocations: 99.34 kB / 1.457 GB, free: 11.7 MB / 1.154 GB Notification: Performance of SimCode: time 1.132e-06/0.5503, allocations: 4 kB / 1.457 GB, free: 11.7 MB / 1.154 GB Notification: Performance of Templates: time 0.08663/0.6369, allocations: 73.52 MB / 1.529 GB, free: 2.164 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 15.447410135006066]