Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001729/0.001729, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001934/0.001934, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.787/2.787, allocations: 476 MB / 0.7707 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.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_11_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_11_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.002132/0.002132, allocations: 64.59 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.364, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02412/0.3881, allocations: 15.49 MB / 1.299 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01195/0.4001, allocations: 4.786 MB / 1.304 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002824/0.4029, allocations: 83.38 kB / 1.304 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004272/0.4072, allocations: 1.051 MB / 1.305 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003429/0.4106, allocations: 0.7776 MB / 1.305 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003292/0.4139, allocations: 0.9306 MB / 1.306 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005131/0.419, allocations: 3.622 MB / 1.31 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005095/0.4241, allocations: 2.434 MB / 1.312 GB, free: 14.62 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003271/0.4274, allocations: 1.628 MB / 1.314 GB, free: 12.99 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003477/0.4309, allocations: 1.78 MB / 1.316 GB, free: 11.21 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000999/0.4319, allocations: 340 kB / 1.316 GB, free: 10.88 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002252/0.4341, allocations: 0.7489 MB / 1.317 GB, free: 10.12 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0023/0.4364, allocations: 1.364 MB / 1.318 GB, free: 8.758 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00299/0.4394, allocations: 1.179 MB / 1.319 GB, free: 7.574 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006859/0.4463, allocations: 5.163 MB / 1.324 GB, free: 2.395 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4463, allocations: 0 / 1.324 GB, free: 2.395 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.165e-06/0.4463, allocations: 0 / 1.324 GB, free: 2.395 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001196/0.4464, allocations: 0 / 1.324 GB, free: 2.395 MB / 1.014 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.006189/0.4526, allocations: 2.638 MB / 1.327 GB, free: 15.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.4526, allocations: 8.031 kB / 1.327 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004015/0.4567, allocations: 0.8537 MB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003577/0.4602, allocations: 1.535 MB / 1.329 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.4604, allocations: 177.1 kB / 1.329 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004447/0.4608, allocations: 228.4 kB / 1.329 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007676/0.4685, allocations: 4.27 MB / 1.334 GB, free: 8.453 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.663e-05/0.4686, allocations: 7.938 kB / 1.334 GB, free: 8.445 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002595/0.4688, allocations: 104 kB / 1.334 GB, free: 8.344 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002216/0.4691, allocations: 172.5 kB / 1.334 GB, free: 8.172 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006342/0.4754, allocations: 3.617 MB / 1.337 GB, free: 4.539 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01724/0.4926, allocations: 10.46 MB / 1.348 GB, free: 9.758 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003241/0.4959, allocations: 1.484 MB / 1.349 GB, free: 8.246 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009258/0.4968, allocations: 0.5431 MB / 1.35 GB, free: 7.695 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.4969, allocations: 20.62 kB / 1.35 GB, free: 7.676 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.289e-05/0.497, allocations: 43.22 kB / 1.35 GB, free: 7.625 MB / 1.045 GB Notification: Performance of pre-optimization done (n=72): time 4.057e-06/0.497, allocations: 0 / 1.35 GB, free: 7.625 MB / 1.045 GB Notification: Performance of matching and sorting (n=76): time 0.006445/0.5034, allocations: 3.197 MB / 1.353 GB, free: 4.406 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.13e-05/0.5035, allocations: 123.5 kB / 1.353 GB, free: 4.258 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.5051, allocations: 1.04 MB / 1.354 GB, free: 3.191 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.508e-05/0.5051, allocations: 33.7 kB / 1.354 GB, free: 3.152 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009287/0.506, allocations: 1.146 MB / 1.355 GB, free: 1.992 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/0.5063, allocations: 289.6 kB / 1.355 GB, free: 1.707 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004293/0.5067, allocations: 279.4 kB / 1.356 GB, free: 1.426 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002663/0.507, allocations: 410.7 kB / 1.356 GB, free: 1.016 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.508, allocations: 0.6128 MB / 1.357 GB, free: 412 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.5096, allocations: 1.189 MB / 1.358 GB, free: 14.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002608/0.5122, allocations: 1.868 MB / 1.36 GB, free: 12.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.501e-05/0.5122, allocations: 8 kB / 1.36 GB, free: 12.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003481/0.5157, allocations: 2.019 MB / 1.362 GB, free: 10.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/0.5157, allocations: 15.94 kB / 1.362 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/0.5157, allocations: 20 kB / 1.362 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004766/0.5162, allocations: 159.3 kB / 1.362 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.5174, allocations: 343.4 kB / 1.362 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.684e-05/0.5174, allocations: 40.27 kB / 1.362 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009984/0.5184, allocations: 127.8 kB / 1.362 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.5185, allocations: 71.94 kB / 1.362 GB, free: 9.996 MB / 1.061 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.001679/0.5202, allocations: 0.981 MB / 1.363 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.5204, allocations: 115.2 kB / 1.363 GB, free: 8.891 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.5227, allocations: 1.221 MB / 1.365 GB, free: 7.652 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.5227, allocations: 15.98 kB / 1.365 GB, free: 7.637 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.5227, allocations: 7.938 kB / 1.365 GB, free: 7.629 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.5227, allocations: 3.984 kB / 1.365 GB, free: 7.625 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005388/0.5281, allocations: 2.877 MB / 1.367 GB, free: 4.664 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.5281, allocations: 4.062 kB / 1.367 GB, free: 4.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/0.5287, allocations: 167.7 kB / 1.368 GB, free: 4.496 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003753/0.5291, allocations: 139.3 kB / 1.368 GB, free: 4.348 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/0.5291, allocations: 16 kB / 1.368 GB, free: 4.332 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.198e-06/0.5291, allocations: 7.938 kB / 1.368 GB, free: 4.324 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.5291, allocations: 4 kB / 1.368 GB, free: 4.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.5314, allocations: 1.478 MB / 1.369 GB, free: 2.793 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005815/0.532, allocations: 191.3 kB / 1.369 GB, free: 2.605 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.5321, allocations: 27.92 kB / 1.369 GB, free: 2.578 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005774/0.5327, allocations: 63.91 kB / 1.369 GB, free: 2.516 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.5328, allocations: 60.48 kB / 1.37 GB, free: 2.453 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.5329, allocations: 20 kB / 1.37 GB, free: 2.434 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001043/0.5339, allocations: 0.6948 MB / 1.37 GB, free: 1.727 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.5339, allocations: 0 / 1.37 GB, free: 1.727 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001494/0.5354, allocations: 388 kB / 1.371 GB, free: 1.348 MB / 1.061 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.0002528/0.5357, allocations: 123.6 kB / 1.371 GB, free: 1.219 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002482/0.5381, allocations: 1.363 MB / 1.372 GB, free: 15.84 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.5381, allocations: 4 kB / 1.372 GB, free: 15.84 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009144/0.5391, allocations: 0.5339 MB / 1.373 GB, free: 15.29 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.5405, allocations: 261.6 kB / 1.373 GB, free: 15.04 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007896/0.5483, allocations: 4.192 MB / 1.377 GB, free: 10.77 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001968/0.5503, allocations: 1.375 MB / 1.378 GB, free: 9.359 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003991/0.5507, allocations: 95.41 kB / 1.378 GB, free: 9.266 MB / 1.076 GB Notification: Performance of SimCode: time 1.483e-06/0.5507, allocations: 0 / 1.378 GB, free: 9.266 MB / 1.076 GB Notification: Performance of Templates: time 0.09328/0.644, allocations: 74.28 MB / 1.451 GB, free: 14.97 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.25419215625152]