Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.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",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.253/2.253, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.00114/0.00114, allocations: 179.1 kB / 0.4902 GB, free: 2.215 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.2 MB / 0.7992 GB, free: 14.76 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.001326/0.001326, allocations: 106 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003462, allocations: 11.78 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.291, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1961/0.4872, allocations: 150.9 MB / 1.377 GB, free: 2.637 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.4874, allocations: 71.95 kB / 1.377 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006607/0.4941, allocations: 2.423 MB / 1.379 GB, free: 144 kB / 0.8698 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4941, allocations: 0 / 1.379 GB, free: 144 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.4941, allocations: 4 kB / 1.379 GB, free: 140 kB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006438/0.4948, allocations: 444.2 kB / 1.379 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.4948, allocations: 8.562 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.4949, allocations: 15.81 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.4951, allocations: 186.8 kB / 1.38 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.4951, allocations: 8.281 kB / 1.38 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.4951, allocations: 12 kB / 1.38 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.4955, allocations: 163.8 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.4955, allocations: 0 / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.4956, allocations: 4 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.4956, allocations: 8 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003674/0.496, allocations: 140.7 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000844/0.4968, allocations: 0.4888 MB / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.4971, allocations: 118.6 kB / 1.381 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.4972, allocations: 4 kB / 1.381 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.4972, allocations: 38.61 kB / 1.381 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.4972, allocations: 0 / 1.381 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0005992/0.4978, allocations: 213.5 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.4979, allocations: 63.36 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.498, allocations: 142 kB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.498, allocations: 29.7 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.4981, allocations: 119.9 kB / 1.381 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.4982, allocations: 27.61 kB / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/0.4982, allocations: 4 kB / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.4983, allocations: 322.8 kB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.4985, allocations: 55.97 kB / 1.382 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.4986, allocations: 47.95 kB / 1.382 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.4988, allocations: 48.64 kB / 1.382 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4988, allocations: 0 / 1.382 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003614/0.4991, allocations: 165.2 kB / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4992, allocations: 8 kB / 1.382 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4992, allocations: 0 / 1.382 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.4992, allocations: 4 kB / 1.382 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.4994, allocations: 23.97 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.4994, allocations: 0 / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.4995, allocations: 27.88 kB / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.4995, allocations: 0 / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001099/0.4996, allocations: 129.8 kB / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.4997, allocations: 11.81 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.4997, allocations: 20.7 kB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4997, allocations: 3.938 kB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4998, allocations: 4 kB / 1.382 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.4998, allocations: 0 / 1.382 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.5, allocations: 241.5 kB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5, allocations: 0 / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.5002, allocations: 27.97 kB / 1.382 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.5002, allocations: 4 kB / 1.382 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.5002, allocations: 0 / 1.382 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5002, allocations: 0 / 1.382 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.5002, allocations: 0 / 1.382 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004146/0.5006, allocations: 255.3 kB / 1.383 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.5007, allocations: 92.91 kB / 1.383 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.5008, allocations: 11.94 kB / 1.383 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.5009, allocations: 11.98 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.501, allocations: 19.98 kB / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.501, allocations: 7.984 kB / 1.383 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.818e-05/0.5011, allocations: 117.6 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5011, allocations: 0 / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002483/0.5014, allocations: 31.92 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001498/0.5015, allocations: 116 kB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003806/0.5019, allocations: 127.9 kB / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5019, allocations: 3.938 kB / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.5021, allocations: 75.89 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.5023, allocations: 11.95 kB / 1.383 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005774/0.5029, allocations: 307.1 kB / 1.383 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.5032, allocations: 0.7158 MB / 1.384 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.89e-05/0.5033, allocations: 12.56 kB / 1.384 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.5034, allocations: 19.42 kB / 1.384 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of SimCode: time 4.11e-07/0.5034, allocations: 0 / 1.384 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of Templates: time 0.003923/0.5073, allocations: 1.218 MB / 1.385 GB, free: 9.359 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches