Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001664/0.001664, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.001988/0.001988, allocations: 174.3 kB / 22.46 MB, free: 5.355 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.477/1.477, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.802/2.802, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_11_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_11_Buildings.Examples.Tutorial.SpaceCooling.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9509 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.229e-05/3.394e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2011/0.2012, allocations: 143.1 MB / 1.091 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005191/0.2064, allocations: 2.744 MB / 1.093 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004952/0.2069, allocations: 19.81 kB / 1.093 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007142/0.2076, allocations: 198.8 kB / 1.094 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002134/0.2097, allocations: 0.8316 MB / 1.094 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008957/0.2106, allocations: 361.2 kB / 1.095 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001369/0.212, allocations: 0.9765 MB / 1.096 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003714/0.2124, allocations: 211.4 kB / 1.096 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007795/0.2131, allocations: 466.6 kB / 1.096 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009404/0.2141, allocations: 267.2 kB / 1.097 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.189e-05/0.2141, allocations: 32 kB / 1.097 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.2153, allocations: 0.549 MB / 1.097 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.2155, allocations: 135.6 kB / 1.097 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.2157, allocations: 147.7 kB / 1.097 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.217, allocations: 0.7518 MB / 1.098 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.217, allocations: 4 kB / 1.098 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.233e-06/0.217, allocations: 0 / 1.098 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.217, allocations: 0 / 1.098 GB, free: 4.336 MB / 0.9981 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.001229/0.2183, allocations: 0.6446 MB / 1.099 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2183, allocations: 8.031 kB / 1.099 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.2194, allocations: 143.6 kB / 1.099 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000675/0.22, allocations: 363.9 kB / 1.099 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.2201, allocations: 16.5 kB / 1.099 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.837e-05/0.2201, allocations: 24 kB / 1.099 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005592/0.2207, allocations: 385.5 kB / 1.1 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.2207, allocations: 0 / 1.1 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.2207, allocations: 12 kB / 1.1 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.2208, allocations: 8.5 kB / 1.1 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/0.2211, allocations: 201.8 kB / 1.1 GB, free: 2.453 MB / 0.9981 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.001625/0.2228, allocations: 0.7926 MB / 1.101 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.2232, allocations: 178.9 kB / 1.101 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.2233, allocations: 89.17 kB / 1.101 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.2233, allocations: 7.953 kB / 1.101 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.2234, allocations: 34.56 kB / 1.101 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.2234, allocations: 0 / 1.101 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0009929/0.2244, allocations: 324.6 kB / 1.101 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.2244, allocations: 59.3 kB / 1.101 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.2248, allocations: 296.5 kB / 1.102 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.2248, allocations: 29.7 kB / 1.102 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.2249, allocations: 196.6 kB / 1.102 GB, free: 388 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.627e-05/0.225, allocations: 71.39 kB / 1.102 GB, free: 316 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.832e-05/0.2251, allocations: 41.7 kB / 1.102 GB, free: 268 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.4962/0.7213, allocations: 335.5 kB / 1.102 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.7215, allocations: 64.25 kB / 1.102 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.7217, allocations: 114.9 kB / 1.102 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.722, allocations: 197.4 kB / 1.103 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.722, allocations: 1.156 kB / 1.103 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004697/0.7225, allocations: 247.1 kB / 1.103 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.7225, allocations: 9.078 kB / 1.103 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.7225, allocations: 2.781 kB / 1.103 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.7226, allocations: 2.594 kB / 1.103 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.7228, allocations: 46.72 kB / 1.103 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.7228, allocations: 7.266 kB / 1.103 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.7231, allocations: 13.84 kB / 1.103 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.7231, allocations: 12.41 kB / 1.103 GB, free: 163.4 MB / 0.9981 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.0001719/0.7233, allocations: 161 kB / 1.103 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.7233, allocations: 31.59 kB / 1.103 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.177e-05/0.7234, allocations: 37.67 kB / 1.103 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.7234, allocations: 3.375 kB / 1.103 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.7234, allocations: 5.234 kB / 1.103 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.7234, allocations: 2 kB / 1.103 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.7239, allocations: 283.3 kB / 1.103 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7239, allocations: 3.891 kB / 1.103 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.724, allocations: 35.98 kB / 1.103 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002407/0.7243, allocations: 41.17 kB / 1.103 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.7243, allocations: 6.016 kB / 1.103 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000966/0.7253, allocations: 1.387 MB / 1.105 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7253, allocations: 2.75 kB / 1.105 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005594/0.7258, allocations: 404.7 kB / 1.105 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.726, allocations: 46.66 kB / 1.105 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.726, allocations: 6.172 kB / 1.105 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.7262, allocations: 3.438 kB / 1.105 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.7263, allocations: 20.17 kB / 1.105 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.7263, allocations: 9.625 kB / 1.105 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002478/0.7266, allocations: 212.4 kB / 1.106 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7266, allocations: 0 / 1.106 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004557/0.727, allocations: 106.5 kB / 1.106 GB, free: 161.4 MB / 0.9981 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.0001918/0.7272, allocations: 113.9 kB / 1.106 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003239/0.7275, allocations: 159.4 kB / 1.106 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.7275, allocations: 0.8438 kB / 1.106 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.7278, allocations: 198.4 kB / 1.106 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.7289, allocations: 195 kB / 1.106 GB, free: 161 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.73, allocations: 0.6573 MB / 1.107 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.7302, allocations: 192.2 kB / 1.107 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002251/0.7304, allocations: 59.5 kB / 1.107 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.413e-05/0.7305, allocations: 30.33 kB / 1.107 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/0.7305, allocations: 0 / 1.107 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.01453/0.745, allocations: 6.383 MB / 1.113 GB, free: 159.9 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.929492007941008]