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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00178/0.00178, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.531/1.531, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.847/2.847, allocations: 472.6 MB / 0.7448 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 73.47 kB / 0.9116 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4176, allocations: 159.9 MB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002707/0.4203, allocations: 1.063 MB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.4216, allocations: 0.9635 MB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.688e-05/0.4217, allocations: 4 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.755e-05/0.4217, allocations: 11.86 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.4219, allocations: 15.91 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.4221, allocations: 59.84 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.4223, allocations: 168 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.4225, allocations: 88.16 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.4227, allocations: 71.77 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.4228, allocations: 75.62 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.4229, allocations: 16 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.728e-05/0.4229, allocations: 27.94 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.844e-05/0.423, allocations: 35.91 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.152e-05/0.423, allocations: 71.59 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.4233, allocations: 207.5 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4233, allocations: 0 / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4233, allocations: 0 / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.4233, allocations: 0 / 1.071 GB, free: 7.84 MB / 0.8262 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.0007068/0.424, allocations: 443 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.4241, allocations: 16.02 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.4241, allocations: 16.75 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.4246, allocations: 244 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.4246, allocations: 12.38 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.4246, allocations: 16.38 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.425, allocations: 150 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.425, allocations: 4.188 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.425, allocations: 11.94 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.4251, allocations: 7.938 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003348/0.4254, allocations: 115.9 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007054/0.4261, allocations: 492 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.4264, allocations: 118.6 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.4266, allocations: 60.81 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.4266, allocations: 7.984 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.4266, allocations: 30.56 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.4267, allocations: 0 / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0005425/0.4272, allocations: 169.4 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.4272, allocations: 59.41 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.4274, allocations: 154.3 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.4274, allocations: 29.64 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.326e-05/0.4275, allocations: 120.2 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.4275, allocations: 27.56 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.098e-05/0.4276, allocations: 41.69 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4278, allocations: 326.8 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.4279, allocations: 47.97 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.4281, allocations: 71.39 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.4284, allocations: 115.2 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4284, allocations: 0 / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003478/0.4287, allocations: 149.4 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.4288, allocations: 4 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4288, allocations: 4 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4288, allocations: 3.984 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.429, allocations: 36.02 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.429, allocations: 3.984 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.92e-05/0.4291, allocations: 15.92 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.4291, allocations: 4 kB / 1.074 GB, free: 4.52 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.0001169/0.4293, allocations: 132.1 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.4293, allocations: 11.81 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.4293, allocations: 20.7 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4293, allocations: 4 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.4294, allocations: 4 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.4294, allocations: 0 / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.4296, allocations: 237.5 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4296, allocations: 0 / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.4297, allocations: 23.92 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.4298, allocations: 0 / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.4298, allocations: 7.984 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4298, allocations: 0 / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4298, allocations: 0 / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.4302, allocations: 239.2 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.4302, allocations: 84.95 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.4302, allocations: 8 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.4304, allocations: 7.984 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.4304, allocations: 23.92 kB / 1.074 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.4305, allocations: 4 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.11e-05/0.4305, allocations: 116.5 kB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4305, allocations: 3.938 kB / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002487/0.4308, allocations: 23.91 kB / 1.074 GB, free: 3.488 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.0001502/0.431, allocations: 107.2 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003797/0.4313, allocations: 116.5 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4314, allocations: 0 / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.4315, allocations: 68.05 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.4319, allocations: 12 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006013/0.4325, allocations: 321 kB / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.4328, allocations: 0.7162 MB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.4329, allocations: 25 kB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.4329, allocations: 15.44 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.433, allocations: 0 / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of Templates: time 0.004098/0.4371, allocations: 1.152 MB / 1.077 GB, free: 0.9688 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/jenkins/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