Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001789/0.001789, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.001909/0.001909, allocations: 177.2 kB / 22.77 MB, free: 1.656 MB / 18.57 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.562/1.562, allocations: 177.2 MB / 203.1 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.363/3.363, allocations: 429.5 MB / 0.6729 GB, free: 3.992 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/2.928e-05, allocations: 3.188 kB / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2127/0.2127, allocations: 158.5 MB / 1.032 GB, free: 7.652 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005136/0.2178, allocations: 2.941 MB / 1.035 GB, free: 4.703 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003431/0.2182, allocations: 23.81 kB / 1.035 GB, free: 4.68 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006533/0.2188, allocations: 202.7 kB / 1.035 GB, free: 4.48 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001981/0.2208, allocations: 0.8355 MB / 1.036 GB, free: 3.641 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008244/0.2216, allocations: 359 kB / 1.036 GB, free: 3.289 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001387/0.223, allocations: 0.9777 MB / 1.037 GB, free: 2.305 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.2234, allocations: 218.7 kB / 1.038 GB, free: 2.09 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008701/0.2243, allocations: 0.5063 MB / 1.038 GB, free: 1.582 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000895/0.2251, allocations: 267.3 kB / 1.038 GB, free: 1.328 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 7.115e-05/0.2252, allocations: 32 kB / 1.038 GB, free: 1.297 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.2264, allocations: 0.5412 MB / 1.039 GB, free: 0.7539 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.2266, allocations: 143.5 kB / 1.039 GB, free: 0.6133 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.2268, allocations: 151.6 kB / 1.039 GB, free: 476 kB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.228, allocations: 0.7478 MB / 1.04 GB, free: 15.71 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.2281, allocations: 4 kB / 1.04 GB, free: 15.71 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2281, allocations: 0 / 1.04 GB, free: 15.71 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.2281, allocations: 0 / 1.04 GB, free: 15.71 MB / 1.01 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.001266/0.2293, allocations: 0.7792 MB / 1.041 GB, free: 14.89 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2294, allocations: 12.03 kB / 1.041 GB, free: 14.88 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.2304, allocations: 175.4 kB / 1.041 GB, free: 14.71 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006878/0.2311, allocations: 378.8 kB / 1.041 GB, free: 14.32 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.2311, allocations: 20.5 kB / 1.041 GB, free: 14.3 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.619e-05/0.2312, allocations: 27.95 kB / 1.041 GB, free: 14.27 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/0.2317, allocations: 359.2 kB / 1.042 GB, free: 13.88 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.2317, allocations: 0 / 1.042 GB, free: 13.88 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.2318, allocations: 12 kB / 1.042 GB, free: 13.87 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.2318, allocations: 8.5 kB / 1.042 GB, free: 13.86 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003561/0.2321, allocations: 153.8 kB / 1.042 GB, free: 13.71 MB / 1.01 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.001798/0.2339, allocations: 0.9988 MB / 1.043 GB, free: 12.67 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.2344, allocations: 171.3 kB / 1.043 GB, free: 12.49 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.2345, allocations: 75.66 kB / 1.043 GB, free: 12.41 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.2345, allocations: 8.328 kB / 1.043 GB, free: 12.4 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.2346, allocations: 41.39 kB / 1.043 GB, free: 12.35 MB / 1.01 GB Notification: Performance of pre-optimization done (n=19): time 1.393e-06/0.2346, allocations: 0 / 1.043 GB, free: 12.35 MB / 1.01 GB Notification: Performance of matching and sorting (n=19): time 0.000917/0.2355, allocations: 282.9 kB / 1.043 GB, free: 12.07 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.2355, allocations: 59.34 kB / 1.043 GB, free: 12 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004431/0.236, allocations: 398.2 kB / 1.044 GB, free: 11.59 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.236, allocations: 33.69 kB / 1.044 GB, free: 11.55 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.2362, allocations: 259.4 kB / 1.044 GB, free: 11.29 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 8.92e-05/0.2363, allocations: 75.39 kB / 1.044 GB, free: 11.22 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.597e-05/0.2364, allocations: 59.36 kB / 1.044 GB, free: 11.15 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002915/0.2367, allocations: 0.5235 MB / 1.045 GB, free: 10.62 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.2368, allocations: 51.97 kB / 1.045 GB, free: 10.57 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.237, allocations: 129.7 kB / 1.045 GB, free: 10.41 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.2372, allocations: 191.4 kB / 1.045 GB, free: 10.2 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2372, allocations: 4 kB / 1.045 GB, free: 10.19 MB / 1.01 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003758/0.2376, allocations: 218.8 kB / 1.045 GB, free: 9.973 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.2376, allocations: 4 kB / 1.045 GB, free: 9.969 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.2376, allocations: 4 kB / 1.045 GB, free: 9.965 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.2377, allocations: 0 / 1.045 GB, free: 9.965 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.2379, allocations: 52.11 kB / 1.045 GB, free: 9.914 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.2379, allocations: 7.938 kB / 1.045 GB, free: 9.906 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.2381, allocations: 19.78 kB / 1.045 GB, free: 9.887 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.2382, allocations: 8 kB / 1.045 GB, free: 9.879 MB / 1.01 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.0001795/0.2383, allocations: 192.5 kB / 1.045 GB, free: 9.68 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-05/0.2384, allocations: 35.81 kB / 1.046 GB, free: 9.645 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.758e-05/0.2385, allocations: 34.3 kB / 1.046 GB, free: 9.613 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.2385, allocations: 4 kB / 1.046 GB, free: 9.609 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.2385, allocations: 3.938 kB / 1.046 GB, free: 9.605 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.2385, allocations: 3.984 kB / 1.046 GB, free: 9.602 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005425/0.2391, allocations: 336.4 kB / 1.046 GB, free: 9.238 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2391, allocations: 0 / 1.046 GB, free: 9.238 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.2393, allocations: 27.98 kB / 1.046 GB, free: 9.211 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000276/0.2395, allocations: 51.59 kB / 1.046 GB, free: 9.156 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.2396, allocations: 11.98 kB / 1.046 GB, free: 9.145 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/0.2412, allocations: 1.853 MB / 1.048 GB, free: 7.164 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.2412, allocations: 7.938 kB / 1.048 GB, free: 7.156 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006429/0.2419, allocations: 426.2 kB / 1.048 GB, free: 6.719 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.242, allocations: 47.78 kB / 1.048 GB, free: 6.672 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.2421, allocations: 8 kB / 1.048 GB, free: 6.664 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.2423, allocations: 3.984 kB / 1.048 GB, free: 6.66 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.2424, allocations: 19.94 kB / 1.048 GB, free: 6.641 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.2424, allocations: 15.95 kB / 1.048 GB, free: 6.625 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002639/0.2426, allocations: 255 kB / 1.049 GB, free: 6.379 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.2426, allocations: 0 / 1.049 GB, free: 6.379 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004306/0.2431, allocations: 103.9 kB / 1.049 GB, free: 6.277 MB / 1.01 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.0001941/0.2433, allocations: 119.3 kB / 1.049 GB, free: 6.148 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003479/0.2436, allocations: 151.4 kB / 1.049 GB, free: 5.996 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2436, allocations: 0 / 1.049 GB, free: 5.996 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003835/0.244, allocations: 259.5 kB / 1.049 GB, free: 5.723 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.2451, allocations: 201.7 kB / 1.049 GB, free: 5.531 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.2462, allocations: 0.6468 MB / 1.05 GB, free: 4.855 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.2464, allocations: 198 kB / 1.05 GB, free: 4.645 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002165/0.2466, allocations: 54.92 kB / 1.05 GB, free: 4.59 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.2467, allocations: 32.44 kB / 1.05 GB, free: 4.559 MB / 1.01 GB Notification: Performance of SimCode: time 6.01e-07/0.2467, allocations: 0 / 1.05 GB, free: 4.559 MB / 1.01 GB Notification: Performance of Templates: time 0.3852/0.6319, allocations: 6.671 MB / 1.057 GB, free: 220.3 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.297019499936141]