Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.001593/0.001593, allocations: 104.4 kB / 19.7 MB, free: 2.121 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.001966/0.001966, allocations: 216.1 kB / 22.99 MB, free: 4.938 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.396/3.396, allocations: 0.4892 GB / 0.7951 GB, free: 35.68 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.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") [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.002139/0.002139, allocations: 63.78 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4125, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02976/0.4423, allocations: 20.01 MB / 1.346 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01663/0.4589, allocations: 7.678 MB / 1.353 GB, free: 6.102 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003238/0.4622, allocations: 75.62 kB / 1.353 GB, free: 6.027 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00479/0.467, allocations: 1.357 MB / 1.355 GB, free: 4.664 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004035/0.471, allocations: 1.023 MB / 1.356 GB, free: 3.637 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006388/0.4774, allocations: 2.005 MB / 1.358 GB, free: 1.633 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007349/0.4847, allocations: 4.331 MB / 1.362 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008335/0.4931, allocations: 2.999 MB / 1.365 GB, free: 10.22 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00484/0.4979, allocations: 1.905 MB / 1.367 GB, free: 8.309 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005083/0.503, allocations: 2.189 MB / 1.369 GB, free: 6.113 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.5045, allocations: 428 kB / 1.369 GB, free: 5.695 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002708/0.5072, allocations: 0.8816 MB / 1.37 GB, free: 4.812 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002795/0.51, allocations: 1.691 MB / 1.372 GB, free: 3.117 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003126/0.5131, allocations: 1.397 MB / 1.373 GB, free: 1.715 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007655/0.5208, allocations: 6.227 MB / 1.379 GB, free: 11.47 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.5208, allocations: 0 / 1.379 GB, free: 11.47 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.465e-06/0.5208, allocations: 0 / 1.379 GB, free: 11.47 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001699/0.5209, allocations: 4 kB / 1.379 GB, free: 11.46 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.007458/0.5284, allocations: 3.046 MB / 1.382 GB, free: 8.371 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.5284, allocations: 12.03 kB / 1.382 GB, free: 8.359 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003675/0.5321, allocations: 0.76 MB / 1.383 GB, free: 7.598 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003661/0.5358, allocations: 1.542 MB / 1.384 GB, free: 6.023 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.536, allocations: 222.2 kB / 1.385 GB, free: 5.805 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006875/0.5367, allocations: 288.3 kB / 1.385 GB, free: 5.523 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.5473, allocations: 5.308 MB / 1.39 GB, free: 15.97 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.516e-05/0.5474, allocations: 7.938 kB / 1.39 GB, free: 15.96 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003594/0.5477, allocations: 124 kB / 1.39 GB, free: 15.84 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002815/0.548, allocations: 208.6 kB / 1.39 GB, free: 15.64 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008407/0.5564, allocations: 4.228 MB / 1.395 GB, free: 11.39 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02588/0.5823, allocations: 14.35 MB / 1.409 GB, free: 12.58 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003386/0.5857, allocations: 1.657 MB / 1.41 GB, free: 10.88 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/0.5876, allocations: 1.079 MB / 1.411 GB, free: 9.789 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.5877, allocations: 20.58 kB / 1.411 GB, free: 9.77 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.515e-05/0.5878, allocations: 51.22 kB / 1.411 GB, free: 9.711 MB / 1.107 GB Notification: Performance of pre-optimization done (n=84): time 3.326e-06/0.5878, allocations: 0 / 1.411 GB, free: 9.711 MB / 1.107 GB Notification: Performance of matching and sorting (n=87): time 0.007992/0.5958, allocations: 4.102 MB / 1.415 GB, free: 5.586 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.5959, allocations: 145.2 kB / 1.415 GB, free: 5.414 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.5973, allocations: 0.8009 MB / 1.416 GB, free: 4.602 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.5974, allocations: 37.7 kB / 1.416 GB, free: 4.559 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.5984, allocations: 1.209 MB / 1.417 GB, free: 3.336 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004041/0.5988, allocations: 321.3 kB / 1.418 GB, free: 3.02 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000542/0.5994, allocations: 282.7 kB / 1.418 GB, free: 2.738 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002599/0.5996, allocations: 398.7 kB / 1.418 GB, free: 2.34 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.6012, allocations: 0.8256 MB / 1.419 GB, free: 1.512 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/0.6033, allocations: 1.532 MB / 1.421 GB, free: 15.7 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003427/0.6068, allocations: 2.175 MB / 1.423 GB, free: 13.34 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.796e-05/0.6068, allocations: 7.938 kB / 1.423 GB, free: 13.33 MB / 1.123 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004139/0.6109, allocations: 2.203 MB / 1.425 GB, free: 11.12 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.6109, allocations: 12 kB / 1.425 GB, free: 11.11 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/0.611, allocations: 12 kB / 1.425 GB, free: 11.09 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.349e-05/0.611, allocations: 24 kB / 1.425 GB, free: 11.07 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.6128, allocations: 420 kB / 1.425 GB, free: 10.66 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.562e-05/0.6128, allocations: 31.86 kB / 1.425 GB, free: 10.63 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.6143, allocations: 211.4 kB / 1.426 GB, free: 10.42 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.6145, allocations: 59.98 kB / 1.426 GB, free: 10.36 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003086/0.6175, allocations: 1.681 MB / 1.427 GB, free: 8.68 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001911/0.6195, allocations: 1.416 MB / 1.429 GB, free: 6.973 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00293/0.6224, allocations: 1.902 MB / 1.431 GB, free: 4.855 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.58e-05/0.6224, allocations: 7.938 kB / 1.431 GB, free: 4.848 MB / 1.123 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003634/0.626, allocations: 1.926 MB / 1.433 GB, free: 2.918 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.6261, allocations: 12 kB / 1.433 GB, free: 2.906 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.6261, allocations: 16 kB / 1.433 GB, free: 2.891 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.6261, allocations: 20 kB / 1.433 GB, free: 2.871 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.6276, allocations: 367.3 kB / 1.433 GB, free: 2.512 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.346e-05/0.6276, allocations: 31.92 kB / 1.433 GB, free: 2.48 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.629, allocations: 183.6 kB / 1.433 GB, free: 2.301 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.6292, allocations: 56 kB / 1.433 GB, free: 2.246 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004563/0.6296, allocations: 272.2 kB / 1.433 GB, free: 1.973 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003283/0.63, allocations: 99.58 kB / 1.434 GB, free: 1.875 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/0.6332, allocations: 1.842 MB / 1.435 GB, free: 16 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.6332, allocations: 11.94 kB / 1.435 GB, free: 4 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.524e-05/0.6332, allocations: 8.047 kB / 1.435 GB, free: 15.99 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.6333, allocations: 7.922 kB / 1.435 GB, free: 15.99 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/0.6478, allocations: 8.57 MB / 1.444 GB, free: 7.227 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-05/0.6478, allocations: 15.98 kB / 1.444 GB, free: 7.211 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/0.6492, allocations: 308.1 kB / 1.444 GB, free: 6.91 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.809e-05/0.6492, allocations: 16 kB / 1.444 GB, free: 6.895 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/0.6493, allocations: 32 kB / 1.444 GB, free: 6.863 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.456e-05/0.6493, allocations: 19.94 kB / 1.444 GB, free: 6.844 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.745e-05/0.6494, allocations: 19.92 kB / 1.444 GB, free: 6.824 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003568/0.6529, allocations: 2.403 MB / 1.446 GB, free: 4.266 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009787/0.6539, allocations: 295.1 kB / 1.447 GB, free: 3.977 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/0.6542, allocations: 35.94 kB / 1.447 GB, free: 3.941 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.6553, allocations: 139.8 kB / 1.447 GB, free: 3.805 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/0.6555, allocations: 103.3 kB / 1.447 GB, free: 3.703 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.561e-05/0.6556, allocations: 36 kB / 1.447 GB, free: 3.668 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001031/0.6567, allocations: 0.5536 MB / 1.448 GB, free: 3.121 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6567, allocations: 0 / 1.448 GB, free: 3.121 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003072/0.6597, allocations: 0.75 MB / 1.448 GB, free: 2.371 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003057/0.66, allocations: 138.9 kB / 1.448 GB, free: 2.227 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005139/0.6652, allocations: 2.761 MB / 1.451 GB, free: 15.46 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/0.6652, allocations: 0 / 1.451 GB, free: 15.46 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.6667, allocations: 0.8964 MB / 1.452 GB, free: 14.57 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/0.6687, allocations: 297.7 kB / 1.452 GB, free: 14.3 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.6797, allocations: 5.51 MB / 1.458 GB, free: 8.59 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002841/0.6825, allocations: 1.616 MB / 1.459 GB, free: 6.934 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006596/0.6832, allocations: 95.41 kB / 1.459 GB, free: 6.84 MB / 1.154 GB Notification: Performance of SimCode: time 1.223e-06/0.6832, allocations: 0 / 1.459 GB, free: 6.84 MB / 1.154 GB Notification: Performance of Templates: time 0.04824/0.7314, allocations: 28.99 MB / 1.488 GB, free: 9.934 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.23031495232135]