Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.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.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.429/2.429, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.0009852/0.0009853, allocations: 188.8 kB / 496.1 MB, free: 12.86 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.527/1.527, 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.0008525/0.0008531, allocations: 87.95 kB / 0.9317 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.118e-05/3.166e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2818, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.23/5.512, allocations: 1.908 GB / 3.127 GB, free: 346.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/5.512, allocations: 84.36 kB / 3.127 GB, free: 346.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.63/7.142, allocations: 399 MB / 3.517 GB, free: 302.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.445e-06/7.142, allocations: 0 / 3.517 GB, free: 302.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002172/7.142, allocations: 40.05 kB / 3.517 GB, free: 302.9 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.005291/7.148, allocations: 1.515 MB / 3.518 GB, free: 302.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/7.148, allocations: 8.875 kB / 3.518 GB, free: 302.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003037/7.151, allocations: 354.8 kB / 3.519 GB, free: 302.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004504/7.155, allocations: 1.118 MB / 3.52 GB, free: 301.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/7.155, allocations: 84.73 kB / 3.52 GB, free: 301.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004101/7.156, allocations: 110.2 kB / 3.52 GB, free: 301.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003323/7.159, allocations: 1.176 MB / 3.521 GB, free: 301.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/7.159, allocations: 0 / 3.521 GB, free: 301.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/7.159, allocations: 47.41 kB / 3.521 GB, free: 301.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.347e-05/7.159, allocations: 38.05 kB / 3.521 GB, free: 301.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003186/7.163, allocations: 1.332 MB / 3.523 GB, free: 301.6 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.009042/7.172, allocations: 3.717 MB / 3.526 GB, free: 300.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/7.174, allocations: 1.106 MB / 3.527 GB, free: 300.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006987/7.175, allocations: 405.2 kB / 3.528 GB, free: 300.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007284/7.176, allocations: 423 kB / 3.528 GB, free: 300 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/7.177, allocations: 0.5621 MB / 3.529 GB, free: 299.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=97): time 3.256e-06/7.177, allocations: 3.391 kB / 3.529 GB, free: 299.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=97): time 0.002963/7.18, allocations: 0.9725 MB / 3.53 GB, free: 299.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/7.18, allocations: 250.7 kB / 3.53 GB, free: 299.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/7.181, allocations: 0.7844 MB / 3.531 GB, free: 299.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.87e-05/7.181, allocations: 45.95 kB / 3.531 GB, free: 299.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/7.182, allocations: 0.494 MB / 3.531 GB, free: 299.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002895/7.182, allocations: 322.7 kB / 3.531 GB, free: 299 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/7.182, allocations: 20.91 kB / 3.531 GB, free: 299 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/7.182, allocations: 338.2 kB / 3.532 GB, free: 298.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000748/7.183, allocations: 313.1 kB / 3.532 GB, free: 298.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007969/7.184, allocations: 474.6 kB / 3.533 GB, free: 298.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006425/7.184, allocations: 381.7 kB / 3.533 GB, free: 298.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/7.184, allocations: 0 / 3.533 GB, free: 298.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001856/7.186, allocations: 0.994 MB / 3.534 GB, free: 298.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/7.186, allocations: 8.656 kB / 3.534 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/7.186, allocations: 3.125 kB / 3.534 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005739/7.187, allocations: 89.16 kB / 3.534 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008494/7.188, allocations: 208.6 kB / 3.534 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/7.189, allocations: 1.528 MB / 3.536 GB, free: 297.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009286/7.19, allocations: 125.5 kB / 3.536 GB, free: 297.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-05/7.19, allocations: 44.33 kB / 3.536 GB, free: 297.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (107): * Single equations (assignments): 106 * 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.0002092/7.191, allocations: 155.3 kB / 3.536 GB, free: 297 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/7.191, allocations: 116.2 kB / 3.536 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/7.193, allocations: 1.374 MB / 3.537 GB, free: 296.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.689e-06/7.193, allocations: 11.62 kB / 3.537 GB, free: 296.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/7.193, allocations: 0 / 3.537 GB, free: 296.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/7.193, allocations: 11.06 kB / 3.537 GB, free: 296.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003985/7.197, allocations: 2.645 MB / 3.54 GB, free: 296.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/7.197, allocations: 0 / 3.54 GB, free: 296.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008185/7.198, allocations: 202.2 kB / 3.54 GB, free: 296.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004734/7.199, allocations: 87.89 kB / 3.54 GB, free: 296.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-05/7.199, allocations: 33.91 kB / 3.54 GB, free: 296.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/7.2, allocations: 1.548 MB / 3.542 GB, free: 295 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/7.2, allocations: 3.938 kB / 3.542 GB, free: 295 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00265/7.203, allocations: 1.746 MB / 3.544 GB, free: 294.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006133/7.204, allocations: 358.5 kB / 3.544 GB, free: 294.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/7.204, allocations: 21.59 kB / 3.544 GB, free: 294.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007999/7.205, allocations: 96.78 kB / 3.544 GB, free: 294.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/7.205, allocations: 82.02 kB / 3.544 GB, free: 294.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-05/7.205, allocations: 43.05 kB / 3.544 GB, free: 294.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000844/7.206, allocations: 0.6338 MB / 3.545 GB, free: 294.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.303e-06/7.206, allocations: 0 / 3.545 GB, free: 294.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001847/7.208, allocations: 0.5816 MB / 3.545 GB, free: 294.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (105): * Single equations (assignments): 102 * 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.002996/7.211, allocations: 1.875 MB / 3.547 GB, free: 293.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001656/7.212, allocations: 0.944 MB / 3.548 GB, free: 293.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/7.212, allocations: 0 / 3.548 GB, free: 293.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008394/7.213, allocations: 0.5948 MB / 3.549 GB, free: 293.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/7.215, allocations: 465.6 kB / 3.549 GB, free: 293.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004092/7.219, allocations: 1.958 MB / 3.551 GB, free: 293.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/7.22, allocations: 1.161 MB / 3.552 GB, free: 292.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001397/7.221, allocations: 368 kB / 3.553 GB, free: 292.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/7.222, allocations: 128.9 kB / 3.553 GB, free: 292.4 MB / 1.167 GB Notification: Performance of SimCode: time 6.51e-07/7.222, allocations: 0 / 3.553 GB, free: 292.4 MB / 1.167 GB Notification: Performance of Templates: time 0.06326/7.285, allocations: 41.19 MB / 3.593 GB, free: 290.6 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches