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.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.001633/0.001633, allocations: 102.1 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.002027/0.002027, 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 8 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.8/2.8, allocations: 476.7 MB / 0.7714 GB, free: 4.277 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.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: 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.00206/0.00206, allocations: 67.66 kB / 1.119 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3527, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02972/0.3824, allocations: 21.57 MB / 1.306 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01952/0.4019, allocations: 7.993 MB / 1.313 GB, free: 13.58 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002996/0.4049, allocations: 75.62 kB / 1.314 GB, free: 13.5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005999/0.4109, allocations: 1.421 MB / 1.315 GB, free: 12.08 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005518/0.4165, allocations: 1.011 MB / 1.316 GB, free: 11.06 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.008105/0.4246, allocations: 2.09 MB / 1.318 GB, free: 8.973 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008694/0.4333, allocations: 4.331 MB / 1.322 GB, free: 4.629 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007513/0.4408, allocations: 3.041 MB / 1.325 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004625/0.4454, allocations: 1.901 MB / 1.327 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006224/0.4516, allocations: 2.318 MB / 1.329 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.00208/0.4537, allocations: 428 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00381/0.4575, allocations: 0.9635 MB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003828/0.4613, allocations: 1.699 MB / 1.332 GB, free: 10.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004209/0.4655, allocations: 1.716 MB / 1.334 GB, free: 8.484 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009316/0.4749, allocations: 6.2 MB / 1.34 GB, free: 2.266 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.4749, allocations: 0 / 1.34 GB, free: 2.266 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4749, allocations: 0 / 1.34 GB, free: 2.266 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001709/0.475, allocations: 0 / 1.34 GB, free: 2.266 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.007448/0.4825, allocations: 3.042 MB / 1.343 GB, free: 15.18 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.4825, allocations: 8.031 kB / 1.343 GB, free: 15.17 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003676/0.4862, allocations: 0.7717 MB / 1.344 GB, free: 14.39 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003962/0.4902, allocations: 1.538 MB / 1.345 GB, free: 12.83 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.4904, allocations: 218.2 kB / 1.345 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007145/0.4911, allocations: 292.3 kB / 1.346 GB, free: 12.33 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/0.502, allocations: 5.082 MB / 1.351 GB, free: 7.055 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.548e-05/0.5021, allocations: 7.938 kB / 1.351 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003544/0.5024, allocations: 124 kB / 1.351 GB, free: 6.926 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003117/0.5027, allocations: 208.6 kB / 1.351 GB, free: 6.719 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008446/0.5112, allocations: 4.223 MB / 1.355 GB, free: 2.48 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03702/0.5482, allocations: 22.44 MB / 1.377 GB, free: 9.973 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004492/0.5527, allocations: 1.662 MB / 1.379 GB, free: 8.273 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00256/0.5552, allocations: 1.08 MB / 1.38 GB, free: 7.18 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.5554, allocations: 24.58 kB / 1.38 GB, free: 7.156 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.643e-05/0.5555, allocations: 51.14 kB / 1.38 GB, free: 7.098 MB / 1.076 GB Notification: Performance of pre-optimization done (n=84): time 5.801e-06/0.5555, allocations: 0 / 1.38 GB, free: 7.098 MB / 1.076 GB Notification: Performance of matching and sorting (n=87): time 0.01046/0.566, allocations: 4.118 MB / 1.384 GB, free: 2.957 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.5661, allocations: 137.2 kB / 1.384 GB, free: 2.793 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.568, allocations: 0.8682 MB / 1.385 GB, free: 1.914 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001857/0.5682, allocations: 41.7 kB / 1.385 GB, free: 1.867 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/0.5695, allocations: 1.201 MB / 1.386 GB, free: 0.6523 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005808/0.57, allocations: 329.3 kB / 1.386 GB, free: 336 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007156/0.5708, allocations: 278.7 kB / 1.387 GB, free: 52 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0003309/0.5711, allocations: 406.7 kB / 1.387 GB, free: 15.64 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/0.5731, allocations: 0.8218 MB / 1.388 GB, free: 14.82 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002885/0.576, allocations: 1.31 MB / 1.389 GB, free: 13.29 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004765/0.5808, allocations: 2.175 MB / 1.391 GB, free: 10.92 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/0.5808, allocations: 4 kB / 1.391 GB, free: 10.92 MB / 1.092 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.005982/0.5868, allocations: 2.211 MB / 1.393 GB, free: 8.699 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/0.5868, allocations: 15.94 kB / 1.393 GB, free: 8.684 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/0.5869, allocations: 12 kB / 1.393 GB, free: 8.672 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.996e-05/0.5869, allocations: 20 kB / 1.393 GB, free: 8.652 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002574/0.5895, allocations: 424 kB / 1.394 GB, free: 8.238 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.625e-05/0.5895, allocations: 31.86 kB / 1.394 GB, free: 8.207 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.5916, allocations: 211.4 kB / 1.394 GB, free: 8 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/0.5918, allocations: 59.98 kB / 1.394 GB, free: 7.941 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004328/0.5961, allocations: 1.681 MB / 1.396 GB, free: 6.258 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002338/0.5985, allocations: 1.186 MB / 1.397 GB, free: 4.832 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002735/0.6012, allocations: 1.906 MB / 1.399 GB, free: 2.719 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.134e-05/0.6012, allocations: 7.938 kB / 1.399 GB, free: 2.711 MB / 1.092 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003376/0.6046, allocations: 1.93 MB / 1.401 GB, free: 0.7695 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.6046, allocations: 12.22 kB / 1.401 GB, free: 0.7578 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.6046, allocations: 20 kB / 1.401 GB, free: 0.7383 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.6047, allocations: 20 kB / 1.401 GB, free: 0.7188 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.6061, allocations: 363.4 kB / 1.401 GB, free: 372 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-05/0.6061, allocations: 35.86 kB / 1.401 GB, free: 336 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.6074, allocations: 175.5 kB / 1.401 GB, free: 160 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.847e-05/0.6075, allocations: 59.98 kB / 1.401 GB, free: 100 kB / 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.0004306/0.6079, allocations: 267.7 kB / 1.402 GB, free: 15.83 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002615/0.6082, allocations: 111.3 kB / 1.402 GB, free: 15.72 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.6113, allocations: 1.858 MB / 1.403 GB, free: 13.85 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.6113, allocations: 8 kB / 1.404 GB, free: 13.84 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.6114, allocations: 3.984 kB / 1.404 GB, free: 13.84 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.6114, allocations: 11.98 kB / 1.404 GB, free: 13.83 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/0.6258, allocations: 9.426 MB / 1.413 GB, free: 4.195 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-05/0.6259, allocations: 8 kB / 1.413 GB, free: 4.188 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/0.6271, allocations: 319.5 kB / 1.413 GB, free: 3.875 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.339e-05/0.6272, allocations: 19.98 kB / 1.413 GB, free: 3.855 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.107e-05/0.6272, allocations: 32 kB / 1.413 GB, free: 3.824 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-05/0.6273, allocations: 19.88 kB / 1.413 GB, free: 3.805 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.28e-05/0.6273, allocations: 19.94 kB / 1.413 GB, free: 3.785 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003217/0.6305, allocations: 2.407 MB / 1.415 GB, free: 1.219 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008047/0.6313, allocations: 311 kB / 1.416 GB, free: 0.9141 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.6315, allocations: 31.98 kB / 1.416 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.6325, allocations: 143.7 kB / 1.416 GB, free: 0.7422 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.6327, allocations: 95.64 kB / 1.416 GB, free: 0.6484 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.292e-05/0.6328, allocations: 35.98 kB / 1.416 GB, free: 0.6133 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001008/0.6338, allocations: 0.6161 MB / 1.417 GB, free: 0 / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6338, allocations: 0 / 1.417 GB, free: 0 / 1.107 GB Notification: Performance of remove unused functions: time 0.002665/0.6364, allocations: 0.754 MB / 1.417 GB, free: 15.24 MB / 1.123 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.0002802/0.6367, allocations: 149.8 kB / 1.418 GB, free: 15.09 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004845/0.6416, allocations: 2.76 MB / 1.42 GB, free: 12.34 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/0.6416, allocations: 0 / 1.42 GB, free: 12.34 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001468/0.643, allocations: 0.8878 MB / 1.421 GB, free: 11.45 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.645, allocations: 320.1 kB / 1.421 GB, free: 11.17 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.6551, allocations: 5.497 MB / 1.427 GB, free: 5.469 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002504/0.6577, allocations: 2.203 MB / 1.429 GB, free: 3.227 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006749/0.6583, allocations: 99.34 kB / 1.429 GB, free: 3.129 MB / 1.123 GB Notification: Performance of SimCode: time 2.064e-06/0.6583, allocations: 0 / 1.429 GB, free: 3.129 MB / 1.123 GB Notification: Performance of Templates: time 0.04787/0.7062, allocations: 28.29 MB / 1.457 GB, free: 6.918 MB / 1.154 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 -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/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: 15.003104920993792]