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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001027/0.001027, allocations: 99.11 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 182.2 kB / 16.92 MB, free: 6.918 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.451/1.451, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.716/2.716, allocations: 437.8 MB / 0.7128 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003807, allocations: 8 kB / 0.8735 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7483/0.7487, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1886/0.9374, allocations: 172.2 MB / 1.192 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01806/0.9555, allocations: 12.65 MB / 1.204 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.9572, allocations: 31.81 kB / 1.204 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.959, allocations: 373.5 kB / 1.205 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003976/0.963, allocations: 0.9287 MB / 1.205 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005323/0.9684, allocations: 1.671 MB / 1.207 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004059/0.9724, allocations: 2.859 MB / 1.21 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00289/0.9753, allocations: 1.374 MB / 1.211 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005308/0.9807, allocations: 1.163 MB / 1.212 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.9823, allocations: 0.723 MB / 1.213 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004064/0.9827, allocations: 47.94 kB / 1.213 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003366/0.9861, allocations: 1.419 MB / 1.215 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006162/0.9868, allocations: 346.5 kB / 1.215 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.9882, allocations: 0.7319 MB / 1.216 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003339/0.9915, allocations: 2.007 MB / 1.218 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.9915, allocations: 4 kB / 1.218 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9916, allocations: 0 / 1.218 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.099e-05/0.9917, allocations: 0 / 1.218 GB, free: 8.641 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.004209/0.9959, allocations: 1.701 MB / 1.219 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.9959, allocations: 12.03 kB / 1.219 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002985/0.9989, allocations: 425.4 kB / 1.22 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/1.001, allocations: 0.9879 MB / 1.221 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/1.001, allocations: 102.7 kB / 1.221 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003416/1.002, allocations: 132 kB / 1.221 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003346/1.005, allocations: 1.526 MB / 1.222 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/1.005, allocations: 0 / 1.222 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000174/1.005, allocations: 63.98 kB / 1.222 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.227e-05/1.005, allocations: 32 kB / 1.222 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002998/1.008, allocations: 1.591 MB / 1.224 GB, free: 1.891 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.008908/1.017, allocations: 5.361 MB / 1.229 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002817/1.02, allocations: 1.527 MB / 1.231 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009502/1.021, allocations: 490.4 kB / 1.231 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008314/1.022, allocations: 441.3 kB / 1.232 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001348/1.023, allocations: 0.6981 MB / 1.232 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=107): time 4.588e-06/1.023, allocations: 0 / 1.232 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=107): time 0.004516/1.028, allocations: 1.676 MB / 1.234 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/1.028, allocations: 196.9 kB / 1.234 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/1.029, allocations: 0.8959 MB / 1.235 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001569/1.03, allocations: 49.7 kB / 1.235 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005406/1.03, allocations: 0.5936 MB / 1.236 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003543/1.03, allocations: 354.9 kB / 1.236 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/1.031, allocations: 89.67 kB / 1.236 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.031, allocations: 349.9 kB / 1.236 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008633/1.032, allocations: 406.3 kB / 1.237 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009886/1.033, allocations: 0.5707 MB / 1.237 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001775/1.034, allocations: 0.9644 MB / 1.238 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/1.034, allocations: 4 kB / 1.238 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002895/1.037, allocations: 1.243 MB / 1.239 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/1.037, allocations: 4 kB / 1.239 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/1.037, allocations: 4 kB / 1.239 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006528/1.038, allocations: 88.92 kB / 1.24 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/1.039, allocations: 259.6 kB / 1.24 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/1.041, allocations: 1.554 MB / 1.241 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/1.043, allocations: 173.8 kB / 1.241 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/1.043, allocations: 47.97 kB / 1.241 GB, free: 15.06 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.0008643/1.044, allocations: 355.3 kB / 1.242 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003535/1.044, allocations: 122.6 kB / 1.242 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003522/1.048, allocations: 1.429 MB / 1.243 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/1.048, allocations: 8 kB / 1.243 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/1.048, allocations: 15.92 kB / 1.243 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/1.048, allocations: 3.984 kB / 1.243 GB, free: 13.12 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.005532/1.053, allocations: 2.873 MB / 1.246 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/1.053, allocations: 4 kB / 1.246 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/1.054, allocations: 219.7 kB / 1.246 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005518/1.055, allocations: 88.77 kB / 1.246 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.043e-05/1.055, allocations: 31.97 kB / 1.247 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/1.057, allocations: 1.575 MB / 1.248 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.057, allocations: 0 / 1.248 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002957/1.06, allocations: 1.328 MB / 1.249 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008197/1.061, allocations: 375.1 kB / 1.25 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/1.061, allocations: 24 kB / 1.25 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/1.062, allocations: 127.7 kB / 1.25 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/1.063, allocations: 84.88 kB / 1.25 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/1.063, allocations: 51.97 kB / 1.25 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001189/1.064, allocations: 0.615 MB / 1.251 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.064, allocations: 0 / 1.251 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001937/1.066, allocations: 0.491 MB / 1.251 GB, free: 4.969 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.002131/1.068, allocations: 0.7115 MB / 1.252 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002784/1.071, allocations: 1.148 MB / 1.253 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/1.071, allocations: 3.938 kB / 1.253 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001447/1.072, allocations: 0.6798 MB / 1.254 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003048/1.075, allocations: 0.49 MB / 1.254 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.581/1.656, allocations: 3.028 MB / 1.257 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/1.657, allocations: 1.206 MB / 1.258 GB, free: 227 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007744/1.658, allocations: 153.9 kB / 1.258 GB, free: 227 MB / 0.9981 GB Notification: Performance of SimCode: time 7.32e-07/1.658, allocations: 4.875 kB / 1.258 GB, free: 227 MB / 0.9981 GB Notification: Performance of Templates: time 0.05334/1.712, allocations: 28.22 MB / 1.286 GB, free: 217.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,senTem.T,senRelHum.phi,senMasFra.X Variables in the result:senMasFra.X,senRelHum.phi,senTem.T,time