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.001787/0.001787, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002194/0.002194, allocations: 222 kB / 23 MB, free: 4.918 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.351/3.351, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 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.002099/0.002099, allocations: 67.59 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3721, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02181/0.3939, allocations: 15.48 MB / 1.38 GB, free: 14.06 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009329/0.4033, allocations: 4.782 MB / 1.384 GB, free: 9.262 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.4046, allocations: 87.31 kB / 1.384 GB, free: 9.176 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003316/0.4079, allocations: 1.056 MB / 1.386 GB, free: 8.117 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002336/0.4103, allocations: 0.7738 MB / 1.386 GB, free: 7.34 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002613/0.4129, allocations: 0.9227 MB / 1.387 GB, free: 6.418 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004449/0.4173, allocations: 3.618 MB / 1.391 GB, free: 2.793 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003561/0.4209, allocations: 2.43 MB / 1.393 GB, free: 296 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002523/0.4234, allocations: 1.632 MB / 1.395 GB, free: 14.65 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0028/0.4262, allocations: 1.783 MB / 1.396 GB, free: 12.86 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005405/0.4268, allocations: 343.9 kB / 1.397 GB, free: 12.53 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.4283, allocations: 0.7567 MB / 1.397 GB, free: 11.77 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001442/0.4297, allocations: 1.356 MB / 1.399 GB, free: 10.41 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001503/0.4312, allocations: 1.183 MB / 1.4 GB, free: 9.223 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005685/0.4369, allocations: 5.167 MB / 1.405 GB, free: 4.039 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4369, allocations: 0 / 1.405 GB, free: 4.039 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4369, allocations: 0 / 1.405 GB, free: 4.039 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.236e-05/0.437, allocations: 4 kB / 1.405 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.005293/0.4423, allocations: 2.634 MB / 1.408 GB, free: 1.355 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4424, allocations: 8.031 kB / 1.408 GB, free: 1.348 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003935/0.4463, allocations: 0.8498 MB / 1.408 GB, free: 0.4961 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003297/0.4496, allocations: 1.539 MB / 1.41 GB, free: 14.92 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.4498, allocations: 177.1 kB / 1.41 GB, free: 14.75 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004104/0.4502, allocations: 232.3 kB / 1.41 GB, free: 14.52 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007135/0.4573, allocations: 4.262 MB / 1.414 GB, free: 10.1 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.734e-05/0.4574, allocations: 3.953 kB / 1.414 GB, free: 10.09 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002638/0.4576, allocations: 108 kB / 1.415 GB, free: 9.988 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002148/0.4578, allocations: 168.5 kB / 1.415 GB, free: 9.82 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006154/0.464, allocations: 3.628 MB / 1.418 GB, free: 6.176 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01648/0.4805, allocations: 10.45 MB / 1.428 GB, free: 11.4 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003203/0.4837, allocations: 1.482 MB / 1.43 GB, free: 9.902 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009064/0.4846, allocations: 0.5392 MB / 1.43 GB, free: 9.355 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.451e-05/0.4847, allocations: 20.64 kB / 1.43 GB, free: 9.336 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/0.4847, allocations: 47.22 kB / 1.431 GB, free: 9.277 MB / 1.123 GB Notification: Performance of pre-optimization done (n=72): time 3.266e-06/0.4847, allocations: 0 / 1.431 GB, free: 9.277 MB / 1.123 GB Notification: Performance of matching and sorting (n=76): time 0.005706/0.4904, allocations: 3.201 MB / 1.434 GB, free: 6.055 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.803e-05/0.4905, allocations: 115.4 kB / 1.434 GB, free: 5.918 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.492, allocations: 1.044 MB / 1.435 GB, free: 4.848 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/0.492, allocations: 37.7 kB / 1.435 GB, free: 4.805 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008742/0.4929, allocations: 1.138 MB / 1.436 GB, free: 3.652 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/0.4931, allocations: 289.6 kB / 1.436 GB, free: 3.367 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004202/0.4936, allocations: 283.5 kB / 1.436 GB, free: 3.082 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000254/0.4938, allocations: 410.7 kB / 1.437 GB, free: 2.672 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.4948, allocations: 0.6167 MB / 1.437 GB, free: 2.055 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.4964, allocations: 1.182 MB / 1.439 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002578/0.4989, allocations: 1.864 MB / 1.44 GB, free: 14.48 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.499, allocations: 8 kB / 1.44 GB, free: 14.48 MB / 1.139 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00341/0.5024, allocations: 2.019 MB / 1.442 GB, free: 12.44 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.5024, allocations: 15.94 kB / 1.442 GB, free: 12.42 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-05/0.5024, allocations: 24.05 kB / 1.442 GB, free: 12.4 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000465/0.5029, allocations: 163.3 kB / 1.443 GB, free: 12.23 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.5041, allocations: 343.4 kB / 1.443 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.563e-05/0.5041, allocations: 47.8 kB / 1.443 GB, free: 11.84 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009357/0.505, allocations: 127.8 kB / 1.443 GB, free: 11.72 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.5052, allocations: 71.98 kB / 1.443 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.001494/0.5067, allocations: 0.9743 MB / 1.444 GB, free: 10.66 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.5069, allocations: 115.2 kB / 1.444 GB, free: 10.55 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.5091, allocations: 1.228 MB / 1.445 GB, free: 9.297 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.5091, allocations: 11.94 kB / 1.445 GB, free: 9.285 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.5092, allocations: 7.938 kB / 1.445 GB, free: 9.277 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.5092, allocations: 3.984 kB / 1.445 GB, free: 9.273 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005086/0.5142, allocations: 2.873 MB / 1.448 GB, free: 6.32 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5143, allocations: 0 / 1.448 GB, free: 6.32 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006317/0.5149, allocations: 159.8 kB / 1.448 GB, free: 6.164 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003647/0.5152, allocations: 147.5 kB / 1.449 GB, free: 6.008 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/0.5153, allocations: 16 kB / 1.449 GB, free: 5.992 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.5153, allocations: 4 kB / 1.449 GB, free: 5.988 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5153, allocations: 4 kB / 1.449 GB, free: 5.984 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.5174, allocations: 1.474 MB / 1.45 GB, free: 4.453 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005219/0.518, allocations: 199.2 kB / 1.45 GB, free: 4.258 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.5181, allocations: 23.94 kB / 1.45 GB, free: 4.234 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005961/0.5187, allocations: 67.91 kB / 1.45 GB, free: 4.168 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.5188, allocations: 64.42 kB / 1.45 GB, free: 4.105 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.685e-05/0.5189, allocations: 20 kB / 1.45 GB, free: 4.086 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009844/0.5199, allocations: 0.691 MB / 1.451 GB, free: 3.383 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5199, allocations: 0 / 1.451 GB, free: 3.383 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001392/0.5212, allocations: 388 kB / 1.451 GB, free: 3.004 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.0002081/0.5215, allocations: 123.1 kB / 1.452 GB, free: 2.875 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002339/0.5238, allocations: 1.363 MB / 1.453 GB, free: 1.5 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5238, allocations: 0 / 1.453 GB, free: 1.5 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009019/0.5247, allocations: 0.5313 MB / 1.453 GB, free: 0.9609 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.5261, allocations: 255.7 kB / 1.454 GB, free: 0.7109 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006879/0.5329, allocations: 4.2 MB / 1.458 GB, free: 12.43 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001891/0.5348, allocations: 1.387 MB / 1.459 GB, free: 11.01 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/0.5352, allocations: 91.42 kB / 1.459 GB, free: 10.92 MB / 1.154 GB Notification: Performance of SimCode: time 1.523e-06/0.5352, allocations: 0 / 1.459 GB, free: 10.92 MB / 1.154 GB Notification: Performance of Templates: time 0.08447/0.6196, allocations: 74.29 MB / 1.532 GB, free: 0.6094 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.598282353021204]