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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009814/0.0009816, allocations: 97.78 kB / 16.02 MB, free: 76 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.001832/0.001832, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.439/1.439, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.761/2.761, allocations: 462.7 MB / 0.7371 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003632, allocations: 8.5 kB / 0.9035 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3487, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001534/0.3503, allocations: 0.7166 MB / 1.06 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.3518, allocations: 0.9675 MB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.3519, allocations: 7.938 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.819e-05/0.352, allocations: 7.922 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.3521, allocations: 11.86 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.3524, allocations: 51.95 kB / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.3526, allocations: 152.1 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.3528, allocations: 92.06 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.353, allocations: 51.72 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.3532, allocations: 51.69 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.3532, allocations: 4 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.909e-05/0.3532, allocations: 4 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.527e-05/0.3533, allocations: 27.86 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.782e-05/0.3534, allocations: 77.3 kB / 1.062 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.3535, allocations: 163.8 kB / 1.062 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3536, allocations: 0 / 1.062 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.497e-06/0.3536, allocations: 0 / 1.062 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3536, allocations: 3.938 kB / 1.062 GB, free: 2.582 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0007309/0.3543, allocations: 427 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.3544, allocations: 15.97 kB / 1.062 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.3544, allocations: 20.75 kB / 1.062 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004973/0.3549, allocations: 261.5 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.355, allocations: 12.38 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.355, allocations: 12.38 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.3554, allocations: 154 kB / 1.063 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3554, allocations: 192 / 1.063 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.3554, allocations: 11.94 kB / 1.063 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3555, allocations: 4 kB / 1.063 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003644/0.3558, allocations: 131.9 kB / 1.063 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007714/0.3566, allocations: 488.1 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.3569, allocations: 126.5 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.3571, allocations: 64.83 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.3572, allocations: 0 / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.3572, allocations: 38.5 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.3572, allocations: 0 / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.000593/0.3578, allocations: 193.3 kB / 1.064 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.3578, allocations: 55.41 kB / 1.064 GB, free: 436 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.358, allocations: 156.6 kB / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.358, allocations: 25.7 kB / 1.064 GB, free: 232 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.3581, allocations: 128.2 kB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.3582, allocations: 31.55 kB / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.3582, allocations: 29.7 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3584, allocations: 326.8 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.3585, allocations: 47.97 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.3587, allocations: 83.33 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.359, allocations: 119.8 kB / 1.065 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.3591, allocations: 0 / 1.065 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004061/0.3595, allocations: 169.3 kB / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.3595, allocations: 9.078 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.3595, allocations: 4 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3595, allocations: 0 / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.3597, allocations: 24.08 kB / 1.065 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.3597, allocations: 8 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.3599, allocations: 19.89 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.3599, allocations: 4 kB / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.36, allocations: 137.7 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.3601, allocations: 11.91 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.3601, allocations: 16.7 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3601, allocations: 8 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3601, allocations: 0 / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3601, allocations: 0 / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.3604, allocations: 241.4 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3604, allocations: 0 / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.3605, allocations: 23.98 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3606, allocations: 0 / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.3606, allocations: 11.92 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3606, allocations: 0 / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3606, allocations: 4 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.361, allocations: 243.3 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.3611, allocations: 92.92 kB / 1.066 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.3611, allocations: 0 / 1.066 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.3612, allocations: 11.98 kB / 1.066 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.907e-05/0.3613, allocations: 19.92 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.3613, allocations: 11.98 kB / 1.066 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.923e-05/0.3614, allocations: 109.3 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3614, allocations: 0 / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002664/0.3617, allocations: 27.94 kB / 1.066 GB, free: 14.15 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001451/0.3618, allocations: 111.2 kB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000408/0.3623, allocations: 124.1 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3623, allocations: 0 / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.3624, allocations: 63.89 kB / 1.066 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.3628, allocations: 16 kB / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006357/0.3634, allocations: 357.6 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.3637, allocations: 0.7204 MB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/0.3638, allocations: 19.42 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.3638, allocations: 0 / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.003836/0.3677, allocations: 1.658 MB / 1.069 GB, free: 11.03 MB / 0.8262 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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