Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003611/0.003611, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.0009256/0.0009256, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.232/1.232, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.345/2.345, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 55.91 kB / 1.054 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6266/0.6276, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002034/0.6297, allocations: 1.135 MB / 1.208 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009838/0.6307, allocations: 1.014 MB / 1.209 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.43e-05/0.6308, allocations: 8 kB / 1.209 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.342e-05/0.6308, allocations: 27.66 kB / 1.209 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.631, allocations: 23.67 kB / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.6312, allocations: 79.92 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.6314, allocations: 232.2 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.6316, allocations: 132.1 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.6317, allocations: 99.56 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.6318, allocations: 95.55 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.6319, allocations: 24 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.557e-05/0.6319, allocations: 27.94 kB / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.6319, allocations: 47.84 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.247e-05/0.632, allocations: 107.4 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.6323, allocations: 301.1 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.6323, allocations: 4 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.133e-06/0.6323, allocations: 4 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.6323, allocations: 4 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006179/0.6329, allocations: 495.1 kB / 1.211 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.633, allocations: 8.031 kB / 1.211 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.725e-05/0.633, allocations: 62.67 kB / 1.211 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.6331, allocations: 28.64 kB / 1.211 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.6335, allocations: 282.6 kB / 1.211 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.6335, allocations: 20.75 kB / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.6335, allocations: 24.38 kB / 1.211 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.6339, allocations: 195.8 kB / 1.212 GB, free: 9 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.6339, allocations: 3.938 kB / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.634, allocations: 12 kB / 1.212 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.634, allocations: 4 kB / 1.212 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.6343, allocations: 157.7 kB / 1.212 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006843/0.635, allocations: 0.5878 MB / 1.212 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.6354, allocations: 154.6 kB / 1.213 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.6355, allocations: 74.84 kB / 1.213 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.6356, allocations: 4 kB / 1.213 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.6356, allocations: 34.47 kB / 1.213 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.6356, allocations: 0 / 1.213 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.0005435/0.6361, allocations: 217.3 kB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.6362, allocations: 51.41 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.6363, allocations: 187.9 kB / 1.213 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.6363, allocations: 25.7 kB / 1.213 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.6364, allocations: 152.1 kB / 1.213 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.6364, allocations: 35.45 kB / 1.213 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.6365, allocations: 53.69 kB / 1.213 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.6366, allocations: 326.8 kB / 1.214 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.6368, allocations: 55.97 kB / 1.214 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.637, allocations: 103.5 kB / 1.214 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.6373, allocations: 142.8 kB / 1.214 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6373, allocations: 0 / 1.214 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000384/0.6377, allocations: 203.1 kB / 1.214 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.6377, allocations: 4 kB / 1.214 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.6377, allocations: 4 kB / 1.214 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.6377, allocations: 0 / 1.214 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.6379, allocations: 35.91 kB / 1.214 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.6379, allocations: 4 kB / 1.214 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.638, allocations: 23.98 kB / 1.214 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.638, allocations: 8 kB / 1.214 GB, free: 6.219 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.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 (22): * Single equations (assignments): 22 * 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.0001261/0.6381, allocations: 141.8 kB / 1.214 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.6382, allocations: 11.81 kB / 1.214 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/0.6382, allocations: 25.86 kB / 1.214 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.6382, allocations: 4 kB / 1.214 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.6382, allocations: 3.938 kB / 1.214 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6383, allocations: 0 / 1.214 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.6385, allocations: 289.2 kB / 1.215 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6385, allocations: 4 kB / 1.215 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.6386, allocations: 27.97 kB / 1.215 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.6387, allocations: 0 / 1.215 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.6387, allocations: 0 / 1.215 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.6387, allocations: 4 kB / 1.215 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.6387, allocations: 0 / 1.215 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.6391, allocations: 271.1 kB / 1.215 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.6391, allocations: 92.86 kB / 1.215 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.6391, allocations: 4 kB / 1.215 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.6393, allocations: 7.984 kB / 1.215 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.6393, allocations: 19.98 kB / 1.215 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.6393, allocations: 11.97 kB / 1.215 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.112e-05/0.6394, allocations: 123.2 kB / 1.215 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6394, allocations: 0 / 1.215 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000254/0.6397, allocations: 43.84 kB / 1.215 GB, free: 5.066 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0006276/0.6403, allocations: 0.8043 MB / 1.216 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003685/0.6407, allocations: 147.8 kB / 1.216 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6407, allocations: 0 / 1.216 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.6409, allocations: 77.61 kB / 1.216 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.6412, allocations: 20.3 kB / 1.216 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.6433, allocations: 1.973 MB / 1.218 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.6435, allocations: 0.728 MB / 1.219 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.504e-05/0.6436, allocations: 25.53 kB / 1.219 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.278e-05/0.6437, allocations: 67.41 kB / 1.219 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of SimCode: time 1.392e-06/0.6437, allocations: 0 / 1.219 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3022/0.946, allocations: 3.267 MB / 1.222 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.976/10.92, allocations: 1.75 kB / 1.222 GB, free: 14.01 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches