Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.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.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.188/2.188, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.00111/0.00111, allocations: 172.9 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.515/1.515, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.0009125/0.0009125, allocations: 95.91 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.041e-05/3.055e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2803, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.305, allocations: 151 MB / 1.366 GB, free: 2.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/1.305, allocations: 77.91 kB / 1.366 GB, free: 2.938 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008485/1.314, allocations: 3.099 MB / 1.369 GB, free: 280 kB / 0.823 GB Notification: Performance of FrontEnd: time 2.675e-06/1.314, allocations: 4 kB / 1.369 GB, free: 276 kB / 0.823 GB Notification: Performance of Transformations before backend: time 1.477e-05/1.314, allocations: 4 kB / 1.369 GB, free: 272 kB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007455/1.315, allocations: 451.5 kB / 1.37 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.306e-05/1.315, allocations: 8.031 kB / 1.37 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.507e-05/1.315, allocations: 23.72 kB / 1.37 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/1.315, allocations: 188.1 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/1.315, allocations: 23.36 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/1.315, allocations: 19.56 kB / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003629/1.315, allocations: 170.6 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/1.316, allocations: 3.938 kB / 1.37 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/1.316, allocations: 7.5 kB / 1.37 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/1.316, allocations: 4 kB / 1.37 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/1.316, allocations: 132.4 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009794/1.317, allocations: 0.6071 MB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/1.317, allocations: 129.3 kB / 1.371 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.683e-05/1.317, allocations: 53.81 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/1.317, allocations: 3.625 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/1.317, allocations: 34.56 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 2.013e-06/1.317, allocations: 0 / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0003307/1.318, allocations: 130.6 kB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/1.318, allocations: 59.41 kB / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/1.318, allocations: 176 kB / 1.372 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/1.318, allocations: 29.7 kB / 1.372 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/1.318, allocations: 134.3 kB / 1.372 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/1.318, allocations: 34.66 kB / 1.372 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/1.318, allocations: 7.938 kB / 1.372 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001885/1.318, allocations: 326 kB / 1.372 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.097e-05/1.318, allocations: 39.59 kB / 1.372 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/1.318, allocations: 37.45 kB / 1.372 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.251e-05/1.319, allocations: 36.8 kB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.319, allocations: 0 / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002126/1.319, allocations: 128 kB / 1.372 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/1.319, allocations: 7.953 kB / 1.372 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.319, allocations: 3.984 kB / 1.372 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/1.319, allocations: 0 / 1.372 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/1.319, allocations: 30.8 kB / 1.372 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.319, allocations: 0 / 1.372 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/1.319, allocations: 23.89 kB / 1.372 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/1.319, allocations: 6.375 kB / 1.372 GB, free: 13.49 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.283e-05/1.319, allocations: 113 kB / 1.372 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/1.319, allocations: 11.81 kB / 1.372 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.624e-05/1.319, allocations: 25.98 kB / 1.372 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/1.319, allocations: 7.938 kB / 1.373 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.319, allocations: 0 / 1.373 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/1.319, allocations: 4 kB / 1.373 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/1.32, allocations: 275 kB / 1.373 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.32, allocations: 0 / 1.373 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/1.32, allocations: 35.09 kB / 1.373 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/1.32, allocations: 7.938 kB / 1.373 GB, free: 13.03 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/1.32, allocations: 0 / 1.373 GB, free: 13.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/1.32, allocations: 3.953 kB / 1.373 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.32, allocations: 0 / 1.373 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/1.32, allocations: 232.5 kB / 1.373 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-05/1.32, allocations: 96.16 kB / 1.373 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/1.32, allocations: 0 / 1.373 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/1.32, allocations: 19.23 kB / 1.373 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/1.321, allocations: 30.11 kB / 1.373 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/1.321, allocations: 4 kB / 1.373 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001158/1.321, allocations: 138.5 kB / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.321, allocations: 0 / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002392/1.321, allocations: 35.75 kB / 1.373 GB, free: 12.51 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001852/1.321, allocations: 116.6 kB / 1.373 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002252/1.321, allocations: 110.8 kB / 1.374 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.321, allocations: 0 / 1.374 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.977e-05/1.322, allocations: 59.88 kB / 1.374 GB, free: 12.28 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/1.322, allocations: 19.64 kB / 1.374 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005237/1.322, allocations: 217.6 kB / 1.374 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/1.323, allocations: 0.7324 MB / 1.375 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.944e-05/1.323, allocations: 17.2 kB / 1.375 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/1.323, allocations: 18.06 kB / 1.375 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.323, allocations: 0 / 1.375 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of Templates: time 0.004616/1.328, allocations: 1.488 MB / 1.376 GB, free: 9.855 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches