Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 199.7 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.82/2.82, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 75.86 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8553/0.8574, allocations: 168.7 MB / 1.274 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02741/0.8848, allocations: 21.57 MB / 1.295 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01512/0.8999, allocations: 7.954 MB / 1.303 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/0.9018, allocations: 59.81 kB / 1.303 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004114/0.9059, allocations: 1.397 MB / 1.304 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.909, allocations: 1.023 MB / 1.305 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006674/0.9157, allocations: 2.087 MB / 1.307 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007045/0.9227, allocations: 4.323 MB / 1.312 GB, free: 14.07 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005138/0.9279, allocations: 2.954 MB / 1.314 GB, free: 11.05 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002872/0.9307, allocations: 1.858 MB / 1.316 GB, free: 9.184 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003892/0.9346, allocations: 2.329 MB / 1.319 GB, free: 6.848 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008323/0.9355, allocations: 428 kB / 1.319 GB, free: 6.43 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.9373, allocations: 0.9597 MB / 1.32 GB, free: 5.469 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001987/0.9393, allocations: 1.695 MB / 1.322 GB, free: 3.77 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002227/0.9415, allocations: 1.712 MB / 1.323 GB, free: 2.051 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007423/0.949, allocations: 6.199 MB / 1.329 GB, free: 11.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.949, allocations: 0 / 1.329 GB, free: 11.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.949, allocations: 4 kB / 1.329 GB, free: 11.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001403/0.9491, allocations: 0 / 1.329 GB, free: 11.83 MB / 1.029 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.007186/0.9563, allocations: 3.114 MB / 1.332 GB, free: 8.648 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.9563, allocations: 12.03 kB / 1.332 GB, free: 8.637 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003948/0.9603, allocations: 0.7678 MB / 1.333 GB, free: 7.867 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004488/0.9648, allocations: 1.571 MB / 1.335 GB, free: 6.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/0.965, allocations: 214.2 kB / 1.335 GB, free: 6.039 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00102/0.966, allocations: 284.3 kB / 1.335 GB, free: 5.762 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/0.9771, allocations: 5.094 MB / 1.34 GB, free: 492 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.43e-05/0.9772, allocations: 7.938 kB / 1.34 GB, free: 484 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003757/0.9775, allocations: 128 kB / 1.34 GB, free: 356 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002826/0.9778, allocations: 208.6 kB / 1.34 GB, free: 144 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009361/0.9872, allocations: 4.224 MB / 1.345 GB, free: 11.9 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03153/1.019, allocations: 22.96 MB / 1.367 GB, free: 2.809 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003169/1.022, allocations: 1.657 MB / 1.369 GB, free: 1.117 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001891/1.024, allocations: 1.083 MB / 1.37 GB, free: 24 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002274/1.024, allocations: 105.7 kB / 1.37 GB, free: 15.9 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/1.024, allocations: 43.22 kB / 1.37 GB, free: 15.85 MB / 1.076 GB Notification: Performance of pre-optimization done (n=84): time 3.566e-06/1.024, allocations: 0 / 1.37 GB, free: 15.85 MB / 1.076 GB Notification: Performance of matching and sorting (n=87): time 0.006939/1.031, allocations: 4.114 MB / 1.374 GB, free: 11.71 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/1.031, allocations: 145.2 kB / 1.374 GB, free: 11.54 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/1.032, allocations: 0.8643 MB / 1.375 GB, free: 10.66 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/1.033, allocations: 41.7 kB / 1.375 GB, free: 10.62 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001186/1.034, allocations: 1.201 MB / 1.376 GB, free: 9.402 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003937/1.034, allocations: 325.2 kB / 1.376 GB, free: 9.082 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005509/1.035, allocations: 278.7 kB / 1.377 GB, free: 8.805 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002338/1.035, allocations: 410.7 kB / 1.377 GB, free: 8.395 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/1.036, allocations: 0.8256 MB / 1.378 GB, free: 7.566 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/1.038, allocations: 1.307 MB / 1.379 GB, free: 6.039 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003915/1.042, allocations: 2.171 MB / 1.381 GB, free: 3.672 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/1.042, allocations: 8 kB / 1.381 GB, free: 3.664 MB / 1.076 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004238/1.047, allocations: 2.215 MB / 1.383 GB, free: 1.445 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/1.047, allocations: 12 kB / 1.383 GB, free: 1.434 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.45e-05/1.047, allocations: 12 kB / 1.383 GB, free: 1.422 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.247e-05/1.047, allocations: 20 kB / 1.383 GB, free: 1.402 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/1.049, allocations: 419.7 kB / 1.384 GB, free: 0.9922 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.788e-05/1.049, allocations: 31.97 kB / 1.384 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/1.05, allocations: 219.3 kB / 1.384 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/1.05, allocations: 59.98 kB / 1.384 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003031/1.053, allocations: 1.681 MB / 1.386 GB, free: 15 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00176/1.055, allocations: 1.19 MB / 1.387 GB, free: 13.58 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002964/1.058, allocations: 1.898 MB / 1.389 GB, free: 11.47 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.407e-05/1.058, allocations: 7.938 kB / 1.389 GB, free: 11.46 MB / 1.092 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.00374/1.062, allocations: 1.926 MB / 1.391 GB, free: 9.527 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/1.062, allocations: 12.94 kB / 1.391 GB, free: 9.516 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/1.062, allocations: 16 kB / 1.391 GB, free: 9.5 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/1.062, allocations: 20 kB / 1.391 GB, free: 9.48 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/1.063, allocations: 371.3 kB / 1.391 GB, free: 9.117 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.262e-05/1.063, allocations: 31.92 kB / 1.391 GB, free: 9.086 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/1.065, allocations: 183.4 kB / 1.391 GB, free: 8.906 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/1.065, allocations: 63.98 kB / 1.391 GB, free: 8.844 MB / 1.092 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.0004367/1.065, allocations: 263.7 kB / 1.391 GB, free: 8.578 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/1.066, allocations: 107.3 kB / 1.392 GB, free: 8.473 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/1.069, allocations: 1.858 MB / 1.393 GB, free: 6.605 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/1.069, allocations: 8 kB / 1.393 GB, free: 6.598 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/1.069, allocations: 0 / 1.393 GB, free: 6.598 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/1.069, allocations: 11.97 kB / 1.393 GB, free: 6.586 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/1.084, allocations: 9.588 MB / 1.403 GB, free: 12.75 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/1.084, allocations: 15.94 kB / 1.403 GB, free: 12.73 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/1.085, allocations: 312.3 kB / 1.403 GB, free: 12.43 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.087e-05/1.085, allocations: 20 kB / 1.403 GB, free: 12.41 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.833e-05/1.085, allocations: 28 kB / 1.403 GB, free: 12.38 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.457e-05/1.085, allocations: 27.86 kB / 1.403 GB, free: 12.35 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.426e-05/1.085, allocations: 15.94 kB / 1.403 GB, free: 12.34 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003318/1.089, allocations: 2.41 MB / 1.406 GB, free: 9.762 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008637/1.09, allocations: 380.1 kB / 1.406 GB, free: 9.371 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/1.09, allocations: 31.98 kB / 1.406 GB, free: 9.34 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/1.091, allocations: 143.7 kB / 1.406 GB, free: 9.199 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/1.091, allocations: 91.61 kB / 1.406 GB, free: 9.109 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.209e-05/1.091, allocations: 40 kB / 1.406 GB, free: 9.07 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001072/1.092, allocations: 0.6122 MB / 1.407 GB, free: 8.461 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.092, allocations: 0 / 1.407 GB, free: 8.461 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002613/1.095, allocations: 0.7539 MB / 1.408 GB, free: 7.707 MB / 1.107 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.0002923/1.095, allocations: 147.5 kB / 1.408 GB, free: 7.555 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.004837/1.1, allocations: 2.761 MB / 1.41 GB, free: 4.805 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/1.1, allocations: 0 / 1.41 GB, free: 4.805 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/1.101, allocations: 0.888 MB / 1.411 GB, free: 3.918 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/1.103, allocations: 308.9 kB / 1.412 GB, free: 3.637 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008754/1.112, allocations: 5.063 MB / 1.416 GB, free: 14.38 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002523/1.115, allocations: 2.12 MB / 1.419 GB, free: 12.22 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002081/1.117, allocations: 0.7461 MB / 1.419 GB, free: 11.47 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004147/1.117, allocations: 87.42 kB / 1.419 GB, free: 11.39 MB / 1.123 GB Notification: Performance of SimCode: time 1.052e-06/1.117, allocations: 0 / 1.419 GB, free: 11.39 MB / 1.123 GB Notification: Performance of Templates: time 0.0363/1.154, allocations: 18.84 MB / 1.438 GB, free: 8.703 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.393852322362363]