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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 101.5 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 192.8 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.413/2.413, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 72.62 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.282, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.695/0.9771, allocations: 176.8 MB / 1.199 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01602/0.9932, allocations: 12.81 MB / 1.212 GB, free: 11.61 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.9947, allocations: 33.28 kB / 1.212 GB, free: 11.59 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.996, allocations: 470.8 kB / 1.212 GB, free: 11.19 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.9989, allocations: 1.026 MB / 1.213 GB, free: 10.39 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004601/1.004, allocations: 1.874 MB / 1.215 GB, free: 8.988 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002743/1.006, allocations: 2.531 MB / 1.218 GB, free: 7.477 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/1.008, allocations: 1.599 MB / 1.219 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003569/1.012, allocations: 1.415 MB / 1.221 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/1.013, allocations: 0.8903 MB / 1.221 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002142/1.013, allocations: 173.1 kB / 1.222 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002776/1.016, allocations: 1.426 MB / 1.223 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004076/1.016, allocations: 485.8 kB / 1.223 GB, free: 3.941 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00087/1.017, allocations: 0.8822 MB / 1.224 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003619/1.021, allocations: 2.792 MB / 1.227 GB, free: 268 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/1.021, allocations: 4 kB / 1.227 GB, free: 264 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.773e-06/1.021, allocations: 0 / 1.227 GB, free: 264 kB / 0.92 GB Notification: Performance of Transformations before backend: time 3.609e-05/1.021, allocations: 4 kB / 1.227 GB, free: 260 kB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.003524/1.025, allocations: 2.017 MB / 1.229 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/1.025, allocations: 12.03 kB / 1.229 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/1.027, allocations: 413.5 kB / 1.229 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/1.029, allocations: 1.035 MB / 1.23 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.262e-05/1.029, allocations: 102.7 kB / 1.231 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/1.029, allocations: 128 kB / 1.231 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/1.032, allocations: 1.528 MB / 1.232 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/1.032, allocations: 3.938 kB / 1.232 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/1.032, allocations: 60 kB / 1.232 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/1.032, allocations: 32 kB / 1.232 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/1.035, allocations: 1.587 MB / 1.234 GB, free: 9.16 MB / 0.9356 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.006965/1.042, allocations: 5.287 MB / 1.239 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002569/1.044, allocations: 1.523 MB / 1.24 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008288/1.045, allocations: 488.6 kB / 1.241 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007286/1.046, allocations: 424.1 kB / 1.241 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001206/1.047, allocations: 0.7034 MB / 1.242 GB, free: 268 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=107): time 3.186e-06/1.047, allocations: 0 / 1.242 GB, free: 268 kB / 0.9356 GB Notification: Performance of matching and sorting (n=107): time 0.004418/1.051, allocations: 1.657 MB / 1.244 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.549e-05/1.052, allocations: 196.9 kB / 1.244 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/1.053, allocations: 0.8882 MB / 1.245 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/1.053, allocations: 53.69 kB / 1.245 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004554/1.053, allocations: 0.5973 MB / 1.245 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/1.054, allocations: 362.9 kB / 1.246 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003278/1.054, allocations: 214.7 kB / 1.246 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.054, allocations: 345.9 kB / 1.246 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007779/1.055, allocations: 394.4 kB / 1.247 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009592/1.056, allocations: 0.5707 MB / 1.247 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/1.058, allocations: 0.9566 MB / 1.248 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/1.058, allocations: 0 / 1.248 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002731/1.06, allocations: 1.231 MB / 1.249 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/1.06, allocations: 17.64 kB / 1.249 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.06, allocations: 0 / 1.249 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006088/1.061, allocations: 85.09 kB / 1.249 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/1.062, allocations: 255.6 kB / 1.25 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/1.064, allocations: 1.652 MB / 1.251 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/1.065, allocations: 134.8 kB / 1.251 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/1.066, allocations: 63.97 kB / 1.251 GB, free: 6.25 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (131): * Single equations (assignments): 130 * 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.0006266/1.066, allocations: 339.3 kB / 1.252 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/1.066, allocations: 126.5 kB / 1.252 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003118/1.07, allocations: 1.425 MB / 1.253 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/1.07, allocations: 12 kB / 1.253 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.07, allocations: 7.984 kB / 1.253 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/1.07, allocations: 3.984 kB / 1.253 GB, free: 4.328 MB / 0.9512 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.004802/1.074, allocations: 2.872 MB / 1.256 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.074, allocations: 0 / 1.256 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/1.075, allocations: 219.7 kB / 1.256 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004563/1.076, allocations: 72.78 kB / 1.256 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.093e-05/1.076, allocations: 35.97 kB / 1.256 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/1.078, allocations: 1.674 MB / 1.258 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/1.078, allocations: 3.984 kB / 1.258 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/1.081, allocations: 1.318 MB / 1.259 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006204/1.081, allocations: 367 kB / 1.26 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/1.081, allocations: 20 kB / 1.26 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000944/1.082, allocations: 82.42 kB / 1.26 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/1.083, allocations: 88.81 kB / 1.26 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/1.083, allocations: 51.97 kB / 1.26 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008239/1.083, allocations: 0.6189 MB / 1.261 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/1.083, allocations: 0 / 1.261 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001231/1.085, allocations: 498.9 kB / 1.261 GB, free: 12.16 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001589/1.086, allocations: 0.7088 MB / 1.262 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002303/1.089, allocations: 1.152 MB / 1.263 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.089, allocations: 4 kB / 1.263 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/1.09, allocations: 0.6759 MB / 1.263 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/1.092, allocations: 0.5334 MB / 1.264 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/1.096, allocations: 2.332 MB / 1.266 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007124/1.097, allocations: 1.205 MB / 1.267 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00121/1.098, allocations: 385.9 kB / 1.268 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003603/1.098, allocations: 147.4 kB / 1.268 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/1.098, allocations: 0 / 1.268 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of Templates: time 0.03914/1.137, allocations: 24.51 MB / 1.292 GB, free: 12.94 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches