Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001971/0.001971, allocations: 102.3 kB / 19.7 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.002569/0.002569, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.45/3.45, allocations: 0.49 GB / 0.7958 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.00205/0.00205, allocations: 67.19 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4176, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0216/0.4391, allocations: 16.8 MB / 1.344 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009912/0.4491, allocations: 5.011 MB / 1.348 GB, free: 11.59 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.4507, allocations: 83.38 kB / 1.349 GB, free: 11.51 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003175/0.4539, allocations: 1.089 MB / 1.35 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002178/0.4561, allocations: 0.7815 MB / 1.35 GB, free: 9.629 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002551/0.4586, allocations: 0.9582 MB / 1.351 GB, free: 8.672 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004646/0.4633, allocations: 3.622 MB / 1.355 GB, free: 5.039 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003612/0.4669, allocations: 2.454 MB / 1.357 GB, free: 2.512 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002761/0.4696, allocations: 1.621 MB / 1.359 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002926/0.4726, allocations: 1.885 MB / 1.361 GB, free: 15 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005385/0.4731, allocations: 340 kB / 1.361 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.4748, allocations: 0.8075 MB / 1.362 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001506/0.4763, allocations: 1.36 MB / 1.363 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002023/0.4783, allocations: 1.459 MB / 1.364 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006123/0.4844, allocations: 5.148 MB / 1.37 GB, free: 5.863 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.4844, allocations: 4 kB / 1.37 GB, free: 5.859 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4844, allocations: 0 / 1.37 GB, free: 5.859 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001519/0.4846, allocations: 0 / 1.37 GB, free: 5.859 MB / 1.061 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.006118/0.4907, allocations: 2.642 MB / 1.372 GB, free: 3.172 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.4907, allocations: 8.031 kB / 1.372 GB, free: 3.164 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003895/0.4946, allocations: 0.8459 MB / 1.373 GB, free: 2.316 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003833/0.4985, allocations: 1.527 MB / 1.374 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.4986, allocations: 181.1 kB / 1.375 GB, free: 0.5742 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004439/0.4991, allocations: 232.3 kB / 1.375 GB, free: 356 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007358/0.5064, allocations: 4.165 MB / 1.379 GB, free: 12.04 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-05/0.5065, allocations: 7.938 kB / 1.379 GB, free: 12.04 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002487/0.5067, allocations: 99.97 kB / 1.379 GB, free: 11.94 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000214/0.5069, allocations: 168.5 kB / 1.379 GB, free: 11.77 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006171/0.5131, allocations: 3.632 MB / 1.383 GB, free: 8.121 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02081/0.5339, allocations: 15.62 MB / 1.398 GB, free: 7.23 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003048/0.537, allocations: 1.481 MB / 1.399 GB, free: 5.727 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008771/0.5378, allocations: 0.5475 MB / 1.4 GB, free: 5.172 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.538, allocations: 24.64 kB / 1.4 GB, free: 5.148 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.538, allocations: 47.16 kB / 1.4 GB, free: 5.09 MB / 1.092 GB Notification: Performance of pre-optimization done (n=72): time 2.775e-06/0.538, allocations: 0 / 1.4 GB, free: 5.09 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.005644/0.5436, allocations: 3.197 MB / 1.403 GB, free: 1.871 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.063e-05/0.5437, allocations: 119.5 kB / 1.403 GB, free: 1.73 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.5452, allocations: 1.022 MB / 1.404 GB, free: 0.6836 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.86e-05/0.5452, allocations: 37.7 kB / 1.404 GB, free: 0.6406 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008693/0.5461, allocations: 1.142 MB / 1.405 GB, free: 15.48 MB / 1.108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/0.5464, allocations: 281.6 kB / 1.406 GB, free: 15.2 MB / 1.108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004153/0.5468, allocations: 283.4 kB / 1.406 GB, free: 14.92 MB / 1.108 GB Notification: Performance of setup shared object (initialization): time 0.0002445/0.547, allocations: 414.7 kB / 1.406 GB, free: 14.5 MB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009477/0.548, allocations: 0.6167 MB / 1.407 GB, free: 13.89 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.5495, allocations: 1.197 MB / 1.408 GB, free: 12.43 MB / 1.108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002449/0.5519, allocations: 1.864 MB / 1.41 GB, free: 10.3 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.5519, allocations: 8 kB / 1.41 GB, free: 10.29 MB / 1.108 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003339/0.5553, allocations: 2.015 MB / 1.412 GB, free: 8.258 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.5553, allocations: 14.56 kB / 1.412 GB, free: 8.246 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.5553, allocations: 20 kB / 1.412 GB, free: 8.227 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004387/0.5557, allocations: 163.3 kB / 1.412 GB, free: 8.055 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.5569, allocations: 347.4 kB / 1.412 GB, free: 7.715 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.995e-05/0.5569, allocations: 39.86 kB / 1.412 GB, free: 7.676 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009227/0.5578, allocations: 127.8 kB / 1.413 GB, free: 7.551 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.5579, allocations: 67.98 kB / 1.413 GB, free: 7.484 MB / 1.108 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.001464/0.5594, allocations: 0.9771 MB / 1.414 GB, free: 6.496 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.5596, allocations: 115.2 kB / 1.414 GB, free: 6.383 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.5618, allocations: 1.226 MB / 1.415 GB, free: 5.137 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.5618, allocations: 12 kB / 1.415 GB, free: 5.125 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.5618, allocations: 4 kB / 1.415 GB, free: 5.121 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.5618, allocations: 3.984 kB / 1.415 GB, free: 5.117 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006076/0.5679, allocations: 3.78 MB / 1.419 GB, free: 1.199 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.5679, allocations: 4 kB / 1.419 GB, free: 1.195 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006175/0.5685, allocations: 163.9 kB / 1.419 GB, free: 1.035 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003733/0.5689, allocations: 139.3 kB / 1.419 GB, free: 0.8867 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.237e-05/0.569, allocations: 20 kB / 1.419 GB, free: 0.8672 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/0.569, allocations: 7.938 kB / 1.419 GB, free: 0.8594 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.569, allocations: 7.938 kB / 1.419 GB, free: 0.8516 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.5711, allocations: 1.466 MB / 1.42 GB, free: 15.33 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005453/0.5716, allocations: 207.1 kB / 1.421 GB, free: 15.12 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.5718, allocations: 16 kB / 1.421 GB, free: 15.11 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005544/0.5723, allocations: 71.84 kB / 1.421 GB, free: 15.04 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.5725, allocations: 64.48 kB / 1.421 GB, free: 14.98 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/0.5725, allocations: 20 kB / 1.421 GB, free: 14.96 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009724/0.5735, allocations: 0.6992 MB / 1.421 GB, free: 14.25 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/0.5735, allocations: 0 / 1.421 GB, free: 14.25 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001439/0.5749, allocations: 388 kB / 1.422 GB, free: 13.87 MB / 1.123 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.0002216/0.5752, allocations: 123.9 kB / 1.422 GB, free: 13.74 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002353/0.5775, allocations: 1.363 MB / 1.423 GB, free: 12.36 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5775, allocations: 448 / 1.423 GB, free: 12.36 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008657/0.5784, allocations: 0.5339 MB / 1.424 GB, free: 11.82 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.5798, allocations: 268.6 kB / 1.424 GB, free: 11.57 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006941/0.5867, allocations: 4.196 MB / 1.428 GB, free: 7.297 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002145/0.5889, allocations: 1.963 MB / 1.43 GB, free: 5.301 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003771/0.5893, allocations: 99.36 kB / 1.43 GB, free: 5.203 MB / 1.123 GB Notification: Performance of SimCode: time 1.693e-06/0.5893, allocations: 0 / 1.43 GB, free: 5.203 MB / 1.123 GB Notification: Performance of Templates: time 0.08399/0.6732, allocations: 73.53 MB / 1.502 GB, free: 11.65 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.74255073000677]