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.001401/0.001401, 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.001581/0.001581, allocations: 211.7 kB / 22.24 MB, free: 5.258 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.812 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.505/3.505, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.002108/0.002108, allocations: 79.53 kB / 1.186 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.336, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02106/0.3571, allocations: 15.48 MB / 1.379 GB, free: 14.04 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008913/0.366, allocations: 4.774 MB / 1.384 GB, free: 9.254 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.3672, allocations: 87.38 kB / 1.384 GB, free: 9.168 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002926/0.3702, allocations: 1.048 MB / 1.385 GB, free: 8.117 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.372, allocations: 0.7854 MB / 1.386 GB, free: 7.328 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.3744, allocations: 0.9264 MB / 1.386 GB, free: 6.402 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004181/0.3786, allocations: 3.618 MB / 1.39 GB, free: 2.777 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003498/0.3821, allocations: 2.43 MB / 1.392 GB, free: 280 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002446/0.3845, allocations: 1.628 MB / 1.394 GB, free: 14.64 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002787/0.3873, allocations: 1.784 MB / 1.396 GB, free: 12.85 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005926/0.3879, allocations: 340 kB / 1.396 GB, free: 12.52 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.3894, allocations: 0.7489 MB / 1.397 GB, free: 11.77 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00154/0.391, allocations: 1.368 MB / 1.398 GB, free: 10.4 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001639/0.3926, allocations: 1.179 MB / 1.399 GB, free: 9.215 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0058/0.3984, allocations: 5.16 MB / 1.404 GB, free: 4.039 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3984, allocations: 3.938 kB / 1.404 GB, free: 4.035 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3984, allocations: 0 / 1.404 GB, free: 4.035 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001231/0.3986, allocations: 0 / 1.404 GB, free: 4.035 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.005369/0.4039, allocations: 2.638 MB / 1.407 GB, free: 1.352 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.404, allocations: 12.03 kB / 1.407 GB, free: 1.34 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004112/0.4081, allocations: 0.8498 MB / 1.408 GB, free: 500 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003572/0.4117, allocations: 1.535 MB / 1.409 GB, free: 14.92 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.4118, allocations: 177.1 kB / 1.409 GB, free: 14.75 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004401/0.4123, allocations: 228.4 kB / 1.41 GB, free: 14.52 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0072/0.4195, allocations: 4.274 MB / 1.414 GB, free: 10.09 MB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.063e-05/0.4195, allocations: 7.891 kB / 1.414 GB, free: 10.08 MB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002655/0.4198, allocations: 104 kB / 1.414 GB, free: 9.977 MB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002201/0.42, allocations: 168.5 kB / 1.414 GB, free: 9.809 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006135/0.4261, allocations: 3.621 MB / 1.418 GB, free: 6.172 MB / 1.108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01611/0.4422, allocations: 10.45 MB / 1.428 GB, free: 11.4 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003256/0.4455, allocations: 1.476 MB / 1.429 GB, free: 9.902 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008855/0.4464, allocations: 0.547 MB / 1.43 GB, free: 9.348 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.4465, allocations: 20.64 kB / 1.43 GB, free: 9.328 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.4465, allocations: 39.22 kB / 1.43 GB, free: 9.277 MB / 1.123 GB Notification: Performance of pre-optimization done (n=72): time 2.715e-06/0.4465, allocations: 0 / 1.43 GB, free: 9.277 MB / 1.123 GB Notification: Performance of matching and sorting (n=76): time 0.005628/0.4522, allocations: 3.205 MB / 1.433 GB, free: 6.051 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.4522, allocations: 119.4 kB / 1.433 GB, free: 5.91 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.4536, allocations: 1.044 MB / 1.434 GB, free: 4.84 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.782e-05/0.4537, allocations: 37.7 kB / 1.434 GB, free: 4.797 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008978/0.4546, allocations: 1.138 MB / 1.435 GB, free: 3.645 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/0.4549, allocations: 285.6 kB / 1.435 GB, free: 3.363 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004098/0.4553, allocations: 283.3 kB / 1.436 GB, free: 3.078 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002478/0.4555, allocations: 418.7 kB / 1.436 GB, free: 2.66 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009906/0.4565, allocations: 0.6128 MB / 1.437 GB, free: 2.047 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001504/0.458, allocations: 1.189 MB / 1.438 GB, free: 0.5977 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002572/0.4606, allocations: 1.857 MB / 1.44 GB, free: 14.48 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/0.4606, allocations: 8 kB / 1.44 GB, free: 14.47 MB / 1.139 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003425/0.464, allocations: 2.019 MB / 1.442 GB, free: 12.43 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.4641, allocations: 15.94 kB / 1.442 GB, free: 12.41 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.697e-05/0.4641, allocations: 20 kB / 1.442 GB, free: 12.39 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004535/0.4645, allocations: 160 kB / 1.442 GB, free: 12.23 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.4657, allocations: 351.4 kB / 1.442 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.403e-05/0.4658, allocations: 39.86 kB / 1.442 GB, free: 11.84 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009493/0.4667, allocations: 123.8 kB / 1.442 GB, free: 11.72 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.4668, allocations: 75.92 kB / 1.442 GB, free: 11.65 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.001517/0.4683, allocations: 0.9782 MB / 1.443 GB, free: 10.66 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.4686, allocations: 115.2 kB / 1.443 GB, free: 10.55 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.4708, allocations: 1.228 MB / 1.445 GB, free: 9.293 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.4708, allocations: 8 kB / 1.445 GB, free: 9.285 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.4708, allocations: 7.938 kB / 1.445 GB, free: 9.277 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.4708, allocations: 3.984 kB / 1.445 GB, free: 9.273 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0052/0.476, allocations: 2.877 MB / 1.448 GB, free: 6.316 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.476, allocations: 4 kB / 1.448 GB, free: 6.312 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006396/0.4767, allocations: 155.8 kB / 1.448 GB, free: 6.16 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003727/0.477, allocations: 139.3 kB / 1.448 GB, free: 6.012 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.494e-05/0.4771, allocations: 12 kB / 1.448 GB, free: 6 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/0.4771, allocations: 11.92 kB / 1.448 GB, free: 5.988 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4771, allocations: 7.938 kB / 1.448 GB, free: 5.98 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.4793, allocations: 1.474 MB / 1.449 GB, free: 4.449 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004825/0.4798, allocations: 199.2 kB / 1.449 GB, free: 4.254 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.4799, allocations: 19.94 kB / 1.449 GB, free: 4.234 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006029/0.4805, allocations: 63.91 kB / 1.45 GB, free: 4.172 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.4806, allocations: 60.48 kB / 1.45 GB, free: 4.113 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/0.4807, allocations: 24.09 kB / 1.45 GB, free: 4.09 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009619/0.4816, allocations: 0.6948 MB / 1.45 GB, free: 3.383 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4816, allocations: 4 kB / 1.45 GB, free: 3.379 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001335/0.483, allocations: 388 kB / 1.451 GB, free: 3 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.0001957/0.4832, allocations: 119.1 kB / 1.451 GB, free: 2.875 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00231/0.4855, allocations: 1.367 MB / 1.452 GB, free: 1.496 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4855, allocations: 0 / 1.452 GB, free: 1.496 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009111/0.4864, allocations: 0.5316 MB / 1.453 GB, free: 0.957 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.4878, allocations: 261.9 kB / 1.453 GB, free: 0.7031 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00627/0.494, allocations: 3.839 MB / 1.457 GB, free: 12.8 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001802/0.4958, allocations: 1.332 MB / 1.458 GB, free: 11.43 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001114/0.497, allocations: 449.3 kB / 1.458 GB, free: 10.98 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.4972, allocations: 87.42 kB / 1.458 GB, free: 10.9 MB / 1.154 GB Notification: Performance of SimCode: time 6.01e-07/0.4972, allocations: 0 / 1.458 GB, free: 10.9 MB / 1.154 GB Notification: Performance of Templates: time 0.0289/0.5261, allocations: 15.26 MB / 1.473 GB, free: 11.94 MB / 1.17 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/jenkins/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: 9.610618278384209]