Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.00121/0.00121, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001155/0.001154, allocations: 194.3 kB / 16.14 MB, free: 6.648 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.194/1.194, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.276/2.276, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.91 kB / 0.8687 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4883/0.4898, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002097/0.4919, allocations: 1.165 MB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008958/0.4928, allocations: 1.003 MB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.4929, allocations: 4 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.243e-05/0.4929, allocations: 15.8 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.885e-05/0.493, allocations: 19.84 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.4932, allocations: 59.97 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.4934, allocations: 204.2 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.4936, allocations: 121.8 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.4937, allocations: 83.56 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.515e-05/0.4938, allocations: 87.55 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.4938, allocations: 12.05 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.337e-05/0.4939, allocations: 12 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.456e-05/0.4939, allocations: 43.73 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.494, allocations: 79.47 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.4942, allocations: 273.3 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.4942, allocations: 4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.92e-07/0.4942, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.4942, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 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.0005782/0.4948, allocations: 491.1 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.4948, allocations: 8.031 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.36e-05/0.4949, allocations: 62.66 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.4949, allocations: 24.66 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.4953, allocations: 276.3 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.4954, allocations: 12.81 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.4954, allocations: 24.36 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.4957, allocations: 187.6 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.4958, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.4958, allocations: 8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.4958, allocations: 4 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.4961, allocations: 157.6 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006506/0.4968, allocations: 0.5685 MB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.4971, allocations: 122.7 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.4972, allocations: 60.81 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.4973, allocations: 8 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.4973, allocations: 30.56 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.4973, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0005163/0.4978, allocations: 209.2 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.4978, allocations: 51.41 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.498, allocations: 178.3 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.498, allocations: 25.7 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.4981, allocations: 152.1 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.4981, allocations: 39.39 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.4982, allocations: 45.7 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.528e-05/0.4983, allocations: 322.8 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.4984, allocations: 55.95 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.4986, allocations: 97.11 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.4989, allocations: 142.8 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4989, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003588/0.4993, allocations: 185.3 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.4993, allocations: 5.562 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4993, allocations: 4 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.4993, allocations: 11.86 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.4995, allocations: 31.92 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.4995, allocations: 4 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.778e-05/0.4996, allocations: 19.83 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.4996, allocations: 8 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (20): * Single equations (assignments): 20 * 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 9.722e-05/0.4997, allocations: 142.4 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.4998, allocations: 19.8 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.4998, allocations: 21.47 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4998, allocations: 7.938 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4998, allocations: 0 / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.4998, allocations: 3.938 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.5001, allocations: 257.5 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5001, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.5002, allocations: 23.98 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.5002, allocations: 4 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.5002, allocations: 7.984 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.5002, allocations: 7.922 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5002, allocations: 4 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.5006, allocations: 252.7 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.5006, allocations: 96.86 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.5007, allocations: 4 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.5008, allocations: 11.92 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.5008, allocations: 23.97 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.5008, allocations: 4 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.925e-05/0.5009, allocations: 121.8 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5009, allocations: 0 / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002468/0.5012, allocations: 35.84 kB / 1.024 GB, free: 10.64 MB / 0.7794 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.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked 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 (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.0005823/0.5018, allocations: 0.7933 MB / 1.025 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003314/0.5021, allocations: 141.8 kB / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.5021, allocations: 0 / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.5023, allocations: 75.89 kB / 1.025 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.5026, allocations: 19.92 kB / 1.025 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.5045, allocations: 1.965 MB / 1.027 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.5048, allocations: 0.7322 MB / 1.028 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.911e-05/0.5049, allocations: 21.55 kB / 1.028 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.951e-05/0.505, allocations: 63.34 kB / 1.028 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.505, allocations: 4 kB / 1.028 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2878/0.7928, allocations: 2.868 MB / 1.031 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/0.7931, allocations: 271.3 kB / 1.031 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.338, allocations: 2.625 kB / 1.031 GB, free: 3.656 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches