Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.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.001569/0.001569, 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.001897/0.001897, allocations: 217 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.22/3.22, allocations: 0.49 GB / 0.7958 GB, free: 33.35 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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1") [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.002348/0.002348, allocations: 65 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4238, allocations: 176.1 MB / 1.327 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2228/0.6467, allocations: 166 MB / 1.489 GB, free: 10.86 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007502/0.6542, allocations: 2.949 MB / 1.492 GB, free: 7.898 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008021/0.655, allocations: 23.88 kB / 1.492 GB, free: 7.875 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009254/0.6559, allocations: 214.8 kB / 1.492 GB, free: 7.664 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003256/0.6591, allocations: 0.8167 MB / 1.493 GB, free: 6.844 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.6605, allocations: 362.6 kB / 1.493 GB, free: 6.492 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002013/0.6625, allocations: 0.9742 MB / 1.494 GB, free: 5.516 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004956/0.663, allocations: 206.5 kB / 1.495 GB, free: 5.309 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.664, allocations: 402.5 kB / 1.495 GB, free: 4.914 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.6652, allocations: 299.2 kB / 1.495 GB, free: 4.625 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.594e-05/0.6652, allocations: 39.94 kB / 1.495 GB, free: 4.586 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.6673, allocations: 0.6975 MB / 1.496 GB, free: 3.887 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002512/0.6675, allocations: 143.5 kB / 1.496 GB, free: 3.746 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003634/0.6679, allocations: 211.1 kB / 1.496 GB, free: 3.539 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.6697, allocations: 0.7514 MB / 1.497 GB, free: 2.785 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.6697, allocations: 0 / 1.497 GB, free: 2.785 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6697, allocations: 0 / 1.497 GB, free: 2.785 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.6697, allocations: 0 / 1.497 GB, free: 2.785 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001632/0.6714, allocations: 0.6562 MB / 1.498 GB, free: 2.098 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.6714, allocations: 8.031 kB / 1.498 GB, free: 2.09 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.673, allocations: 139.6 kB / 1.498 GB, free: 1.953 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.6741, allocations: 367.9 kB / 1.498 GB, free: 1.562 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.6741, allocations: 20.5 kB / 1.498 GB, free: 1.543 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.894e-05/0.6742, allocations: 32 kB / 1.498 GB, free: 1.512 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007326/0.6749, allocations: 274.8 kB / 1.498 GB, free: 1.234 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.6749, allocations: 0 / 1.498 GB, free: 1.234 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/0.675, allocations: 11.94 kB / 1.498 GB, free: 1.223 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/0.675, allocations: 12.5 kB / 1.499 GB, free: 1.211 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005291/0.6755, allocations: 193.9 kB / 1.499 GB, free: 1.02 MB / 1.186 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.6782, allocations: 1.291 MB / 1.5 GB, free: 15.6 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/0.6788, allocations: 190.8 kB / 1.5 GB, free: 15.4 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.679, allocations: 78.03 kB / 1.5 GB, free: 15.32 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.679, allocations: 4 kB / 1.5 GB, free: 15.32 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.679, allocations: 34.56 kB / 1.5 GB, free: 15.28 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 2.344e-06/0.679, allocations: 4 kB / 1.5 GB, free: 15.27 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.001333/0.6804, allocations: 324.3 kB / 1.501 GB, free: 14.95 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.6804, allocations: 55.41 kB / 1.501 GB, free: 14.88 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004756/0.6809, allocations: 304.5 kB / 1.501 GB, free: 14.58 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.6809, allocations: 29.7 kB / 1.501 GB, free: 14.54 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.6812, allocations: 196.3 kB / 1.501 GB, free: 14.34 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.6813, allocations: 71.38 kB / 1.501 GB, free: 14.27 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.6814, allocations: 41.72 kB / 1.501 GB, free: 14.23 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.6816, allocations: 342.8 kB / 1.502 GB, free: 13.88 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.6817, allocations: 63.97 kB / 1.502 GB, free: 13.82 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.6819, allocations: 115.7 kB / 1.502 GB, free: 13.69 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.6824, allocations: 199.6 kB / 1.502 GB, free: 13.47 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6824, allocations: 0 / 1.502 GB, free: 13.47 MB / 1.201 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005825/0.6829, allocations: 245.3 kB / 1.502 GB, free: 13.23 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.683, allocations: 11.94 kB / 1.502 GB, free: 13.21 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.683, allocations: 3.938 kB / 1.502 GB, free: 13.21 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.683, allocations: 4 kB / 1.502 GB, free: 13.21 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.6833, allocations: 39.92 kB / 1.502 GB, free: 13.17 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.6833, allocations: 12.17 kB / 1.502 GB, free: 13.16 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.6837, allocations: 19.84 kB / 1.502 GB, free: 13.14 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.6837, allocations: 8 kB / 1.502 GB, free: 13.13 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * 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.0002453/0.684, allocations: 161.8 kB / 1.502 GB, free: 12.96 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-05/0.6841, allocations: 35.75 kB / 1.502 GB, free: 12.93 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.6842, allocations: 35.02 kB / 1.502 GB, free: 12.89 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/0.6842, allocations: 11.92 kB / 1.502 GB, free: 12.88 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.6842, allocations: 0 / 1.502 GB, free: 12.88 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.6842, allocations: 0 / 1.502 GB, free: 12.88 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007645/0.685, allocations: 384.3 kB / 1.503 GB, free: 12.46 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.685, allocations: 0 / 1.503 GB, free: 12.46 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.6852, allocations: 35.92 kB / 1.503 GB, free: 12.42 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002956/0.6855, allocations: 44.77 kB / 1.503 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.6856, allocations: 4 kB / 1.503 GB, free: 12.37 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/0.6874, allocations: 1.404 MB / 1.504 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.6874, allocations: 4.031 kB / 1.504 GB, free: 10.85 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000815/0.6882, allocations: 406.8 kB / 1.505 GB, free: 10.44 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.6884, allocations: 51.78 kB / 1.505 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.164e-05/0.6884, allocations: 11.92 kB / 1.505 GB, free: 10.38 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.6888, allocations: 4 kB / 1.505 GB, free: 10.37 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.6889, allocations: 16.2 kB / 1.505 GB, free: 10.36 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.6889, allocations: 4 kB / 1.505 GB, free: 10.35 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003559/0.6892, allocations: 215.1 kB / 1.505 GB, free: 10.14 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6892, allocations: 0 / 1.505 GB, free: 10.14 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006803/0.6899, allocations: 111.9 kB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002567/0.6902, allocations: 115.2 kB / 1.505 GB, free: 9.914 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004587/0.6906, allocations: 161.3 kB / 1.505 GB, free: 9.758 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.6906, allocations: 4 kB / 1.505 GB, free: 9.754 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0004511/0.6911, allocations: 190.6 kB / 1.506 GB, free: 9.555 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.6924, allocations: 204.2 kB / 1.506 GB, free: 9.355 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.6942, allocations: 0.7805 MB / 1.506 GB, free: 8.547 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005766/0.6948, allocations: 0.796 MB / 1.507 GB, free: 7.723 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.6949, allocations: 27.44 kB / 1.507 GB, free: 7.699 MB / 1.201 GB Notification: Performance of SimCode: time 8.22e-07/0.6949, allocations: 0 / 1.507 GB, free: 7.699 MB / 1.201 GB Notification: Performance of Templates: time 0.01187/0.7068, allocations: 5.771 MB / 1.513 GB, free: 1.973 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.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: 12.882189328985987]