Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.001993/0.001993, allocations: 80.98 kB / 19.18 MB, free: 2.527 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.002406/0.002406, allocations: 166.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.489/1.489, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.814/2.814, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.011e-05, allocations: 9.312 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.7548/0.7549, allocations: 155.9 MB / 1.134 GB, free: 45.34 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01482/0.7697, allocations: 12.03 MB / 1.145 GB, free: 45.24 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.771, allocations: 41.69 kB / 1.145 GB, free: 45.24 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.7722, allocations: 476.7 kB / 1.146 GB, free: 45.23 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00318/0.7754, allocations: 1.104 MB / 1.147 GB, free: 45.19 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004465/0.7798, allocations: 1.945 MB / 1.149 GB, free: 45.13 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003243/0.7831, allocations: 2.626 MB / 1.151 GB, free: 45.07 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.7848, allocations: 1.287 MB / 1.153 GB, free: 44.89 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004464/0.7893, allocations: 2.065 MB / 1.155 GB, free: 44.72 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009522/0.7902, allocations: 0.7349 MB / 1.155 GB, free: 44.64 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.00023/0.7904, allocations: 179.2 kB / 1.156 GB, free: 44.64 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002453/0.7929, allocations: 1.306 MB / 1.157 GB, free: 44.55 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003706/0.7933, allocations: 0.5192 MB / 1.157 GB, free: 44.47 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006734/0.7939, allocations: 0.6169 MB / 1.158 GB, free: 44.4 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003753/0.7977, allocations: 3.015 MB / 1.161 GB, free: 44.11 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.7977, allocations: 0 / 1.161 GB, free: 44.11 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7977, allocations: 0 / 1.161 GB, free: 44.11 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.479e-05/0.7977, allocations: 0.7188 kB / 1.161 GB, free: 44.11 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003223/0.8009, allocations: 2.041 MB / 1.163 GB, free: 43.12 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.801, allocations: 11.28 kB / 1.163 GB, free: 43.12 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003153/0.8041, allocations: 470.8 kB / 1.163 GB, free: 43.02 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.8057, allocations: 0.9803 MB / 1.164 GB, free: 42.71 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.345e-05/0.8058, allocations: 104.5 kB / 1.164 GB, free: 42.71 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.8059, allocations: 142.2 kB / 1.165 GB, free: 42.71 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.8083, allocations: 2.05 MB / 1.167 GB, free: 41.86 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.8083, allocations: 2.688 kB / 1.167 GB, free: 41.86 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.8084, allocations: 61.38 kB / 1.167 GB, free: 41.86 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.8085, allocations: 34.88 kB / 1.167 GB, free: 41.86 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/0.8109, allocations: 1.537 MB / 1.168 GB, free: 41.84 MB / 1.076 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.006261/0.8172, allocations: 3.827 MB / 1.172 GB, free: 40.52 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002796/0.82, allocations: 1.188 MB / 1.173 GB, free: 40.48 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000831/0.8208, allocations: 460 kB / 1.174 GB, free: 40.47 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005878/0.8214, allocations: 110.5 kB / 1.174 GB, free: 40.47 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001314/0.8227, allocations: 1.068 MB / 1.175 GB, free: 39.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=115): time 3.466e-06/0.8227, allocations: 0 / 1.175 GB, free: 39.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=115): time 0.004571/0.8273, allocations: 1.616 MB / 1.176 GB, free: 39.82 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.71e-05/0.8274, allocations: 201.5 kB / 1.176 GB, free: 39.61 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.8285, allocations: 0.7701 MB / 1.177 GB, free: 39.46 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.8287, allocations: 56.19 kB / 1.177 GB, free: 39.43 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005118/0.8292, allocations: 0.6163 MB / 1.178 GB, free: 39.13 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002836/0.8295, allocations: 388 kB / 1.178 GB, free: 38.88 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003702/0.8298, allocations: 234.2 kB / 1.178 GB, free: 38.86 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.109e-05/0.8299, allocations: 352.1 kB / 1.179 GB, free: 38.55 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008877/0.8308, allocations: 422.2 kB / 1.179 GB, free: 38.55 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.8319, allocations: 0.7766 MB / 1.18 GB, free: 38.18 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/0.8338, allocations: 1.007 MB / 1.181 GB, free: 38.05 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.8338, allocations: 1.125 kB / 1.181 GB, free: 38.05 MB / 1.076 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003277/0.8371, allocations: 1.307 MB / 1.182 GB, free: 37.92 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.8371, allocations: 9.125 kB / 1.182 GB, free: 37.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.8371, allocations: 4.172 kB / 1.182 GB, free: 37.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006437/0.8378, allocations: 86.7 kB / 1.182 GB, free: 37.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.839, allocations: 266.7 kB / 1.183 GB, free: 37.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.8413, allocations: 1.524 MB / 1.184 GB, free: 36.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.8426, allocations: 125.2 kB / 1.184 GB, free: 36.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.8428, allocations: 55.47 kB / 1.184 GB, free: 36.64 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008288/0.8436, allocations: 356.1 kB / 1.185 GB, free: 36.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/0.8439, allocations: 116.7 kB / 1.185 GB, free: 36.46 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003362/0.8472, allocations: 1.456 MB / 1.186 GB, free: 36.34 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.8473, allocations: 12.27 kB / 1.186 GB, free: 36.34 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8473, allocations: 6.094 kB / 1.186 GB, free: 36.34 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.8473, allocations: 5.859 kB / 1.186 GB, free: 36.34 MB / 1.076 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 postOpt removeSimpleEquations (simulation): time 0.005872/0.8531, allocations: 2.602 MB / 1.189 GB, free: 35.94 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.006e-06/0.8532, allocations: 2.062 kB / 1.189 GB, free: 35.94 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.8543, allocations: 228.8 kB / 1.189 GB, free: 35.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004633/0.8548, allocations: 73.05 kB / 1.189 GB, free: 35.93 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-05/0.8549, allocations: 38 kB / 1.189 GB, free: 35.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/0.8565, allocations: 1.542 MB / 1.191 GB, free: 34.69 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8565, allocations: 0 / 1.191 GB, free: 34.69 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003236/0.8598, allocations: 1.36 MB / 1.192 GB, free: 34.15 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006863/0.8605, allocations: 273.2 kB / 1.192 GB, free: 34 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001824/0.8606, allocations: 33.67 kB / 1.192 GB, free: 33.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009589/0.8616, allocations: 78.89 kB / 1.192 GB, free: 33.96 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/0.8618, allocations: 92.45 kB / 1.192 GB, free: 33.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/0.862, allocations: 54.7 kB / 1.192 GB, free: 33.94 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007805/0.8627, allocations: 0.5248 MB / 1.193 GB, free: 33.72 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8627, allocations: 0.5938 kB / 1.193 GB, free: 33.72 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001597/0.8643, allocations: 0.5262 MB / 1.193 GB, free: 33.57 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002413/0.8668, allocations: 0.7517 MB / 1.194 GB, free: 33.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002679/0.8694, allocations: 1.164 MB / 1.195 GB, free: 32.89 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.8694, allocations: 2.375 kB / 1.195 GB, free: 32.89 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.8707, allocations: 0.6458 MB / 1.196 GB, free: 32.63 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/0.8729, allocations: 454.1 kB / 1.196 GB, free: 32.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005016/0.8779, allocations: 2.405 MB / 1.199 GB, free: 31.29 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008332/0.8788, allocations: 0.6355 MB / 1.199 GB, free: 31.14 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00189/0.8807, allocations: 378.6 kB / 1.2 GB, free: 31.08 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004491/0.8811, allocations: 140.8 kB / 1.2 GB, free: 31.06 MB / 1.076 GB Notification: Performance of SimCode: time 9.02e-07/0.8811, allocations: 0 / 1.2 GB, free: 31.06 MB / 1.076 GB Notification: Performance of Templates: time 0.04275/0.9239, allocations: 23.17 MB / 1.222 GB, free: 28.37 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.963882446289062]