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.00172/0.00172, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001693/0.001693, allocations: 200.1 kB / 16.14 MB, free: 6.629 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.455/1.455, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.838/2.838, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 71.89 kB / 0.8686 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6526/0.6547, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2041/0.8588, allocations: 174.5 MB / 1.187 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0178/0.8766, allocations: 12.84 MB / 1.2 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.8779, allocations: 27.81 kB / 1.2 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.8792, allocations: 381.5 kB / 1.2 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002657/0.8818, allocations: 0.9211 MB / 1.201 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00428/0.8861, allocations: 1.673 MB / 1.203 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003534/0.8897, allocations: 2.863 MB / 1.205 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002177/0.8919, allocations: 1.467 MB / 1.207 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004912/0.8968, allocations: 1.26 MB / 1.208 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.8981, allocations: 0.8578 MB / 1.209 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002515/0.8984, allocations: 96 kB / 1.209 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002913/0.9013, allocations: 1.466 MB / 1.21 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004667/0.9018, allocations: 410.5 kB / 1.211 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.9028, allocations: 0.8043 MB / 1.212 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003833/0.9067, allocations: 2.734 MB / 1.214 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.9067, allocations: 0 / 1.214 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.42e-07/0.9067, allocations: 0 / 1.214 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.859e-05/0.9067, allocations: 0 / 1.214 GB, free: 7.703 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.003874/0.9106, allocations: 2.024 MB / 1.216 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.9106, allocations: 8.031 kB / 1.216 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002905/0.9136, allocations: 409.5 kB / 1.217 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.9153, allocations: 0.9878 MB / 1.218 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.9154, allocations: 106.7 kB / 1.218 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/0.9156, allocations: 132 kB / 1.218 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/0.9186, allocations: 1.53 MB / 1.219 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.9186, allocations: 0 / 1.219 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.9188, allocations: 60 kB / 1.219 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.9188, allocations: 32 kB / 1.219 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003083/0.9219, allocations: 1.575 MB / 1.221 GB, free: 0.6641 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.008936/0.9309, allocations: 5.337 MB / 1.226 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002988/0.9339, allocations: 1.528 MB / 1.228 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.935, allocations: 482.4 kB / 1.228 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009892/0.936, allocations: 421.3 kB / 1.228 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001612/0.9376, allocations: 0.6956 MB / 1.229 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=107): time 3.226e-06/0.9376, allocations: 0 / 1.229 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=107): time 0.005072/0.9427, allocations: 1.668 MB / 1.231 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.9429, allocations: 200.9 kB / 1.231 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.9443, allocations: 0.892 MB / 1.232 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.9444, allocations: 49.7 kB / 1.232 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005771/0.945, allocations: 0.5974 MB / 1.232 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003411/0.9453, allocations: 354.9 kB / 1.233 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003724/0.9457, allocations: 214.7 kB / 1.233 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.9459, allocations: 353.9 kB / 1.233 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008636/0.9468, allocations: 390.4 kB / 1.234 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.9478, allocations: 0.5668 MB / 1.234 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/0.9498, allocations: 0.9566 MB / 1.235 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.9498, allocations: 0 / 1.235 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003071/0.9529, allocations: 1.239 MB / 1.236 GB, free: 52 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.9529, allocations: 4 kB / 1.236 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/0.9529, allocations: 4 kB / 1.236 GB, free: 44 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006798/0.9536, allocations: 92.98 kB / 1.236 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.9549, allocations: 251.7 kB / 1.237 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/0.9572, allocations: 1.55 MB / 1.238 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.9586, allocations: 150.9 kB / 1.238 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.9587, allocations: 51.97 kB / 1.238 GB, free: 13.82 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.0007165/0.9595, allocations: 343.3 kB / 1.239 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/0.9598, allocations: 122.5 kB / 1.239 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003559/0.9633, allocations: 1.433 MB / 1.24 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.9634, allocations: 12 kB / 1.24 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.9634, allocations: 3.938 kB / 1.24 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.9634, allocations: 7.969 kB / 1.24 GB, free: 11.88 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.005464/0.9689, allocations: 2.873 MB / 1.243 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.9689, allocations: 3.938 kB / 1.243 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.97, allocations: 215.8 kB / 1.243 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005627/0.9706, allocations: 88.75 kB / 1.243 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.586e-05/0.9707, allocations: 35.97 kB / 1.243 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.9728, allocations: 1.567 MB / 1.245 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.9728, allocations: 0 / 1.245 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/0.976, allocations: 1.32 MB / 1.246 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007354/0.9768, allocations: 351.2 kB / 1.247 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/0.977, allocations: 24 kB / 1.247 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.9782, allocations: 115.8 kB / 1.247 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/0.9784, allocations: 80.88 kB / 1.247 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.9785, allocations: 51.97 kB / 1.247 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001042/0.9796, allocations: 0.6189 MB / 1.247 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9796, allocations: 0 / 1.247 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001457/0.981, allocations: 498.8 kB / 1.248 GB, free: 3.793 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.002367/0.9834, allocations: 0.7192 MB / 1.249 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002695/0.9861, allocations: 1.148 MB / 1.25 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/0.9862, allocations: 4 kB / 1.25 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001386/0.9875, allocations: 0.6722 MB / 1.25 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/0.9902, allocations: 499.9 kB / 1.251 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5448/1.535, allocations: 2.95 MB / 1.254 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/1.536, allocations: 1.21 MB / 1.255 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001871/1.538, allocations: 390.1 kB / 1.255 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004391/1.538, allocations: 138.9 kB / 1.255 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/1.538, allocations: 3.219 kB / 1.255 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.04808/1.586, allocations: 23.54 MB / 1.278 GB, free: 222.6 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=400 -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