Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001655/0.001655, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002065/0.002065, allocations: 192.9 kB / 16.25 MB, free: 6.621 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.574/2.574, allocations: 437 MB / 0.71 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 71.88 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6461/0.6473, allocations: 151.6 MB / 1.017 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.184/0.8314, allocations: 174.4 MB / 1.187 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01806/0.8495, allocations: 12.65 MB / 1.199 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.8512, allocations: 27.81 kB / 1.2 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.8531, allocations: 397.5 kB / 1.2 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004/0.8572, allocations: 0.937 MB / 1.201 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005103/0.8623, allocations: 1.705 MB / 1.202 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0035/0.8658, allocations: 2.528 MB / 1.205 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002338/0.8682, allocations: 1.59 MB / 1.206 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005331/0.8735, allocations: 1.409 MB / 1.208 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.8751, allocations: 0.9064 MB / 1.209 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003126/0.8754, allocations: 172 kB / 1.209 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00308/0.8785, allocations: 1.435 MB / 1.21 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004243/0.879, allocations: 490.5 kB / 1.211 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008954/0.8799, allocations: 0.8747 MB / 1.212 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00379/0.8837, allocations: 2.812 MB / 1.214 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.8837, allocations: 0 / 1.214 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8837, allocations: 4 kB / 1.214 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.989e-05/0.8837, allocations: 0 / 1.214 GB, free: 7.793 MB / 0.9669 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.003416/0.8872, allocations: 2.024 MB / 1.216 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.8872, allocations: 8.031 kB / 1.216 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002617/0.8898, allocations: 413.5 kB / 1.217 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.8912, allocations: 0.9917 MB / 1.218 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.873e-05/0.8913, allocations: 102.7 kB / 1.218 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.8915, allocations: 136 kB / 1.218 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/0.894, allocations: 1.517 MB / 1.219 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.8941, allocations: 0 / 1.219 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.8942, allocations: 60 kB / 1.22 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.8943, allocations: 39.98 kB / 1.22 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002627/0.8969, allocations: 1.579 MB / 1.221 GB, free: 0.7461 MB / 0.9669 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.007107/0.904, allocations: 5.33 MB / 1.226 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002632/0.9067, allocations: 1.524 MB / 1.228 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008514/0.9075, allocations: 482.4 kB / 1.228 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008322/0.9084, allocations: 425.3 kB / 1.229 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001261/0.9096, allocations: 0.6956 MB / 1.229 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=107): time 2.404e-06/0.9097, allocations: 0 / 1.229 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=107): time 0.004347/0.914, allocations: 1.657 MB / 1.231 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.9141, allocations: 204.8 kB / 1.231 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.9153, allocations: 0.8959 MB / 1.232 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.817e-05/0.9154, allocations: 49.7 kB / 1.232 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004855/0.9159, allocations: 0.5897 MB / 1.233 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/0.9162, allocations: 354.9 kB / 1.233 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003384/0.9165, allocations: 218.7 kB / 1.233 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.9167, allocations: 345.9 kB / 1.234 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007568/0.9174, allocations: 402.4 kB / 1.234 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009649/0.9184, allocations: 0.5629 MB / 1.234 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.9201, allocations: 0.9566 MB / 1.235 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.9201, allocations: 0 / 1.235 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002691/0.9228, allocations: 1.235 MB / 1.237 GB, free: 156 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.9229, allocations: 4 kB / 1.237 GB, free: 152 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.9229, allocations: 4 kB / 1.237 GB, free: 148 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006008/0.9235, allocations: 89.17 kB / 1.237 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.9246, allocations: 255.6 kB / 1.237 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.9269, allocations: 1.661 MB / 1.239 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.928, allocations: 156.5 kB / 1.239 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.914e-05/0.9282, allocations: 55.97 kB / 1.239 GB, free: 13.79 MB / 0.9981 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.0007345/0.9289, allocations: 343.3 kB / 1.239 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/0.9291, allocations: 130.4 kB / 1.239 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003203/0.9323, allocations: 1.429 MB / 1.241 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.9324, allocations: 19.92 kB / 1.241 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.9324, allocations: 0 / 1.241 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.9324, allocations: 3.984 kB / 1.241 GB, free: 11.86 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 postOpt removeSimpleEquations (simulation): time 0.005007/0.9374, allocations: 2.87 MB / 1.243 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.9374, allocations: 7.938 kB / 1.243 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009789/0.9384, allocations: 215.8 kB / 1.244 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004538/0.9389, allocations: 72.78 kB / 1.244 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-05/0.939, allocations: 35.97 kB / 1.244 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/0.941, allocations: 1.681 MB / 1.245 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.941, allocations: 0 / 1.245 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002776/0.9438, allocations: 1.32 MB / 1.247 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006134/0.9444, allocations: 363.1 kB / 1.247 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/0.9446, allocations: 20 kB / 1.247 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.9457, allocations: 103.8 kB / 1.247 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.9459, allocations: 84.83 kB / 1.247 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.946, allocations: 55.95 kB / 1.247 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000889/0.9469, allocations: 0.615 MB / 1.248 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9469, allocations: 0 / 1.248 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001357/0.9482, allocations: 498.7 kB / 1.248 GB, free: 3.66 MB / 0.9981 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.001673/0.9499, allocations: 0.7215 MB / 1.249 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003668/0.9536, allocations: 1.46 MB / 1.25 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.9536, allocations: 4 kB / 1.25 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.9549, allocations: 0.6758 MB / 1.251 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/0.9573, allocations: 0.5349 MB / 1.252 GB, free: 452 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4917/1.449, allocations: 2.946 MB / 1.255 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000968/1.45, allocations: 1.213 MB / 1.256 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001888/1.452, allocations: 385.2 kB / 1.256 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000462/1.452, allocations: 147.3 kB / 1.256 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of SimCode: time 8.31e-07/1.452, allocations: 0 / 1.256 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.04403/1.496, allocations: 24.38 MB / 1.28 GB, free: 222.2 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches