Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001927/0.001927, allocations: 85.48 kB / 19.44 MB, free: 344 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.002117/0.002117, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.629 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.386/3.386, allocations: 429.5 MB / 0.6729 GB, free: 4.027 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.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 0.8774 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.404e-05, allocations: 3.125 kB / 0.8774 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2502/0.2502, allocations: 173 MB / 1.046 GB, free: 9.086 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.5136/0.7638, allocations: 13.1 MB / 1.059 GB, free: 47.6 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.7651, allocations: 42.91 kB / 1.059 GB, free: 47.6 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.7664, allocations: 479.7 kB / 1.06 GB, free: 47.6 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003019/0.7694, allocations: 1.094 MB / 1.061 GB, free: 47.6 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.004225/0.7736, allocations: 1.925 MB / 1.063 GB, free: 47.57 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002868/0.7765, allocations: 2.608 MB / 1.065 GB, free: 47.56 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.778, allocations: 1.255 MB / 1.066 GB, free: 47.44 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005002/0.783, allocations: 2.138 MB / 1.068 GB, free: 47.29 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.7841, allocations: 0.7267 MB / 1.069 GB, free: 47.21 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002448/0.7844, allocations: 183 kB / 1.069 GB, free: 47.21 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002521/0.7869, allocations: 1.306 MB / 1.071 GB, free: 47.12 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003653/0.7872, allocations: 0.5208 MB / 1.071 GB, free: 47.04 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007089/0.788, allocations: 0.6138 MB / 1.072 GB, free: 46.98 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003616/0.7916, allocations: 3.02 MB / 1.075 GB, free: 46.69 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.7916, allocations: 0.8438 kB / 1.075 GB, free: 46.69 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7916, allocations: 0 / 1.075 GB, free: 46.69 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.383e-05/0.7916, allocations: 0 / 1.075 GB, free: 46.69 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003168/0.7948, allocations: 2.257 MB / 1.077 GB, free: 45.6 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.7948, allocations: 8.344 kB / 1.077 GB, free: 45.6 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003089/0.7979, allocations: 0.6514 MB / 1.078 GB, free: 45.42 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.7995, allocations: 0.9945 MB / 1.079 GB, free: 45.11 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.034e-05/0.7996, allocations: 111.7 kB / 1.079 GB, free: 45.11 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.7998, allocations: 144.9 kB / 1.079 GB, free: 45.11 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002355/0.8022, allocations: 2.034 MB / 1.081 GB, free: 44.2 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.8022, allocations: 2.781 kB / 1.081 GB, free: 44.2 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.8023, allocations: 63.66 kB / 1.081 GB, free: 44.19 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.8023, allocations: 32.53 kB / 1.081 GB, free: 44.19 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002141/0.8045, allocations: 1.376 MB / 1.082 GB, free: 44.18 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.006767/0.8112, allocations: 5.126 MB / 1.087 GB, free: 42.08 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.8134, allocations: 1.057 MB / 1.088 GB, free: 42.04 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006494/0.814, allocations: 404.7 kB / 1.089 GB, free: 42.03 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005662/0.8146, allocations: 109.5 kB / 1.089 GB, free: 42.03 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.8157, allocations: 1.051 MB / 1.09 GB, free: 41.5 MB / 1.01 GB Notification: Performance of pre-optimization done (n=115): time 3.286e-06/0.8157, allocations: 0.875 kB / 1.09 GB, free: 41.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=115): time 0.004032/0.8197, allocations: 1.455 MB / 1.091 GB, free: 41.36 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.8198, allocations: 204 kB / 1.091 GB, free: 41.14 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.8208, allocations: 0.9467 MB / 1.092 GB, free: 40.94 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-05/0.8209, allocations: 57.48 kB / 1.092 GB, free: 40.91 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/0.8214, allocations: 0.7041 MB / 1.093 GB, free: 40.57 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/0.8216, allocations: 425.5 kB / 1.093 GB, free: 40.31 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003763/0.822, allocations: 280.7 kB / 1.094 GB, free: 40.28 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.8221, allocations: 0.553 MB / 1.094 GB, free: 39.8 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007144/0.8228, allocations: 344.2 kB / 1.095 GB, free: 39.8 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009336/0.8238, allocations: 0.7762 MB / 1.095 GB, free: 39.36 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.8253, allocations: 0.918 MB / 1.096 GB, free: 39.17 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.8253, allocations: 1.094 kB / 1.096 GB, free: 39.17 MB / 1.01 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.00275/0.8281, allocations: 1.203 MB / 1.097 GB, free: 39.04 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.8281, allocations: 6.125 kB / 1.097 GB, free: 39.04 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.8281, allocations: 3.125 kB / 1.097 GB, free: 39.04 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009663/0.8291, allocations: 147.1 kB / 1.098 GB, free: 39.02 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.8302, allocations: 268.4 kB / 1.098 GB, free: 39.02 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.8321, allocations: 2.054 MB / 1.1 GB, free: 37.27 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.8331, allocations: 103.6 kB / 1.1 GB, free: 37.22 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.8332, allocations: 56.02 kB / 1.1 GB, free: 37.22 MB / 1.01 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.0006645/0.8339, allocations: 339.2 kB / 1.1 GB, free: 37.05 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000337/0.8342, allocations: 151.3 kB / 1.1 GB, free: 37 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003058/0.8373, allocations: 1.321 MB / 1.102 GB, free: 36.88 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.8373, allocations: 14.25 kB / 1.102 GB, free: 36.88 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.8373, allocations: 0 / 1.102 GB, free: 36.88 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.8373, allocations: 11.19 kB / 1.102 GB, free: 36.87 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005109/0.8424, allocations: 2.715 MB / 1.104 GB, free: 36.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.8424, allocations: 2.094 kB / 1.104 GB, free: 36.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009707/0.8434, allocations: 214.6 kB / 1.105 GB, free: 36.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007682/0.8442, allocations: 125.6 kB / 1.105 GB, free: 36.39 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.831e-05/0.8443, allocations: 38.67 kB / 1.105 GB, free: 36.39 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002481/0.8468, allocations: 2.074 MB / 1.107 GB, free: 34.62 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.8468, allocations: 0.8125 kB / 1.107 GB, free: 34.62 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004441/0.8512, allocations: 1.347 MB / 1.108 GB, free: 34.33 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008627/0.8521, allocations: 269 kB / 1.108 GB, free: 34.25 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/0.8523, allocations: 25.95 kB / 1.108 GB, free: 34.25 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000812/0.8531, allocations: 63.38 kB / 1.108 GB, free: 34.25 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/0.8533, allocations: 96.94 kB / 1.109 GB, free: 34.25 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/0.8534, allocations: 50.62 kB / 1.109 GB, free: 34.25 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0008229/0.8542, allocations: 0.5869 MB / 1.109 GB, free: 34.11 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.8542, allocations: 0 / 1.109 GB, free: 34.11 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001464/0.8557, allocations: 0.528 MB / 1.11 GB, free: 34.01 MB / 1.01 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 (125): * Single equations (assignments): 114 * 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.003597/0.8593, allocations: 0.7561 MB / 1.11 GB, free: 33.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002422/0.8617, allocations: 1.152 MB / 1.112 GB, free: 33.58 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.8617, allocations: 2.156 kB / 1.112 GB, free: 33.58 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.863, allocations: 0.7153 MB / 1.112 GB, free: 33.39 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/0.8651, allocations: 495.2 kB / 1.113 GB, free: 33.33 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004208/0.8693, allocations: 2.342 MB / 1.115 GB, free: 32.34 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000811/0.8701, allocations: 0.6171 MB / 1.116 GB, free: 32.21 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001374/0.8715, allocations: 346.4 kB / 1.116 GB, free: 32.16 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004262/0.8719, allocations: 141 kB / 1.116 GB, free: 32.15 MB / 1.01 GB Notification: Performance of SimCode: time 1.223e-06/0.8719, allocations: 1.156 kB / 1.116 GB, free: 32.15 MB / 1.01 GB Notification: Performance of Templates: time 0.04227/0.9142, allocations: 23.17 MB / 1.139 GB, free: 29.62 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.326457393006422]