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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.657/2.657, allocations: 390.3 MB / 402.8 MB, free: 6.688 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 180.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 221.3 MB / 0.7915 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008891/0.000889, allocations: 99.92 kB / 0.9318 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.121e-05/3.125e-05, allocations: 7.984 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2768, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.229/5.506, allocations: 1.907 GB / 3.126 GB, free: 406.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000457/5.507, allocations: 87.95 kB / 3.126 GB, free: 406.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.658/7.165, allocations: 409.4 MB / 3.526 GB, free: 293 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.964e-06/7.165, allocations: 1.094 kB / 3.526 GB, free: 293 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001348/7.165, allocations: 38.16 kB / 3.526 GB, free: 293 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.003914/7.169, allocations: 1.616 MB / 3.528 GB, free: 292.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/7.169, allocations: 10.09 kB / 3.528 GB, free: 292.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002821/7.172, allocations: 400.3 kB / 3.528 GB, free: 292.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003206/7.175, allocations: 1.163 MB / 3.529 GB, free: 292.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/7.175, allocations: 104.2 kB / 3.529 GB, free: 292.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/7.175, allocations: 128.5 kB / 3.529 GB, free: 292.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002777/7.178, allocations: 1.385 MB / 3.531 GB, free: 291.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/7.178, allocations: 0 / 3.531 GB, free: 291.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/7.178, allocations: 59.34 kB / 3.531 GB, free: 291.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-05/7.178, allocations: 30.59 kB / 3.531 GB, free: 291.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002755/7.181, allocations: 1.455 MB / 3.532 GB, free: 291.8 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.008148/7.189, allocations: 4.888 MB / 3.537 GB, free: 289.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/7.192, allocations: 1.392 MB / 3.538 GB, free: 289.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006789/7.192, allocations: 443.3 kB / 3.539 GB, free: 289.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006963/7.193, allocations: 421.1 kB / 3.539 GB, free: 289 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/7.194, allocations: 0.6099 MB / 3.54 GB, free: 288.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=98): time 2.846e-06/7.194, allocations: 0 / 3.54 GB, free: 288.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=98): time 0.00257/7.197, allocations: 1.012 MB / 3.541 GB, free: 288.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/7.197, allocations: 247.9 kB / 3.541 GB, free: 288.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/7.198, allocations: 0.7922 MB / 3.542 GB, free: 288.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.631e-05/7.198, allocations: 47.92 kB / 3.542 GB, free: 288.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005358/7.199, allocations: 0.567 MB / 3.542 GB, free: 288.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/7.199, allocations: 332.8 kB / 3.543 GB, free: 288 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/7.199, allocations: 18.09 kB / 3.543 GB, free: 288 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.178e-05/7.199, allocations: 342.6 kB / 3.543 GB, free: 287.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005724/7.2, allocations: 327.9 kB / 3.543 GB, free: 287.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007791/7.201, allocations: 0.5204 MB / 3.544 GB, free: 287.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007495/7.201, allocations: 406.3 kB / 3.544 GB, free: 287.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/7.201, allocations: 1.031 kB / 3.544 GB, free: 287.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002411/7.204, allocations: 1.065 MB / 3.545 GB, free: 287.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/7.204, allocations: 9.312 kB / 3.545 GB, free: 287.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/7.204, allocations: 3 kB / 3.545 GB, free: 287.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006326/7.204, allocations: 89.42 kB / 3.545 GB, free: 287.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/7.206, allocations: 227.9 kB / 3.546 GB, free: 287.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/7.208, allocations: 1.538 MB / 3.547 GB, free: 286.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/7.209, allocations: 145 kB / 3.547 GB, free: 286.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/7.209, allocations: 40.58 kB / 3.547 GB, free: 286.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002556/7.209, allocations: 160.8 kB / 3.548 GB, free: 286 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/7.209, allocations: 119.9 kB / 3.548 GB, free: 285.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003082/7.212, allocations: 1.312 MB / 3.549 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/7.212, allocations: 11.78 kB / 3.549 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/7.212, allocations: 4.25 kB / 3.549 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/7.212, allocations: 5.531 kB / 3.549 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00527/7.218, allocations: 2.665 MB / 3.552 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/7.218, allocations: 5.141 kB / 3.552 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/7.219, allocations: 214.8 kB / 3.552 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005266/7.219, allocations: 84.78 kB / 3.552 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.199e-05/7.219, allocations: 29.94 kB / 3.552 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/7.221, allocations: 1.557 MB / 3.553 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/7.221, allocations: 1.312 kB / 3.553 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/7.224, allocations: 1.196 MB / 3.555 GB, free: 283.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008476/7.225, allocations: 371.8 kB / 3.555 GB, free: 283.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/7.225, allocations: 20.5 kB / 3.555 GB, free: 283.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009983/7.226, allocations: 103.8 kB / 3.555 GB, free: 283.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/7.226, allocations: 84.95 kB / 3.555 GB, free: 283.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/7.226, allocations: 42.28 kB / 3.555 GB, free: 283.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001234/7.227, allocations: 0.6263 MB / 3.556 GB, free: 283.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/7.227, allocations: 1.125 kB / 3.556 GB, free: 283.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002686/7.23, allocations: 0.6087 MB / 3.556 GB, free: 283.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004374/7.234, allocations: 1.876 MB / 3.558 GB, free: 283.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002391/7.237, allocations: 0.9965 MB / 3.559 GB, free: 283 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/7.237, allocations: 7.719 kB / 3.559 GB, free: 283 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/7.238, allocations: 0.6169 MB / 3.56 GB, free: 282.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/7.241, allocations: 459.8 kB / 3.56 GB, free: 282.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005637/7.247, allocations: 1.842 MB / 3.562 GB, free: 282.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/7.248, allocations: 1.209 MB / 3.563 GB, free: 281.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002227/7.25, allocations: 383.5 kB / 3.564 GB, free: 281.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005751/7.251, allocations: 132.4 kB / 3.564 GB, free: 281.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.163e-06/7.251, allocations: 2.844 kB / 3.564 GB, free: 281.7 MB / 1.167 GB Notification: Performance of Templates: time 0.07333/7.324, allocations: 42.11 MB / 3.605 GB, free: 280.8 MB / 1.167 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 -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","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches