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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001242/0.001243, allocations: 108 kB / 15.61 MB, free: 152 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.001249/0.001249, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.231/1.231, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.282/2.282, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.88 kB / 0.8694 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4934/0.4946, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002247/0.4969, allocations: 1.123 MB / 1.019 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.498, allocations: 1.014 MB / 1.02 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.4982, allocations: 4 kB / 1.02 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.194e-05/0.4982, allocations: 19.73 kB / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.4984, allocations: 27.67 kB / 1.02 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.4986, allocations: 79.91 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.4988, allocations: 212.2 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.499, allocations: 125.3 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.4992, allocations: 95.58 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.4993, allocations: 103.5 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.4993, allocations: 20 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.891e-05/0.4994, allocations: 24 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.4994, allocations: 43.84 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.969e-05/0.4995, allocations: 99.47 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.4998, allocations: 277.3 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4998, allocations: 0 / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4998, allocations: 0 / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.4998, allocations: 4 kB / 1.021 GB, free: 15.23 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.0006321/0.5004, allocations: 499 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.5005, allocations: 12.03 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.27e-05/0.5005, allocations: 50.73 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/0.5006, allocations: 24.66 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.501, allocations: 268.3 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.501, allocations: 20.81 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.5011, allocations: 16.38 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.5014, allocations: 195.5 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.5015, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.5015, allocations: 8 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.5015, allocations: 4 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003703/0.5019, allocations: 145.7 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007019/0.5026, allocations: 0.5764 MB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.5029, allocations: 130.5 kB / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.503, allocations: 60.83 kB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.5031, allocations: 7.938 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.5031, allocations: 38.56 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.5031, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0005486/0.5037, allocations: 194.9 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.5037, allocations: 59.34 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.5038, allocations: 179.7 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.5039, allocations: 33.7 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.5039, allocations: 140.2 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.504, allocations: 47.39 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.504, allocations: 41.7 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.135e-05/0.5041, allocations: 330.8 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.5043, allocations: 47.97 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.5045, allocations: 94.48 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.5048, allocations: 138.4 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5048, allocations: 0 / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003989/0.5052, allocations: 185.2 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.5052, allocations: 8 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.5053, allocations: 160 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.5053, allocations: 11.94 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.5055, allocations: 35.91 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.5055, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.5056, allocations: 19.84 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.5056, allocations: 11.98 kB / 1.024 GB, free: 11.38 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 0.0001022/0.5057, allocations: 141.7 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.5057, allocations: 15.81 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.5058, allocations: 17.53 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5058, allocations: 3.938 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.5058, allocations: 4 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.5058, allocations: 3.984 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.5061, allocations: 261.6 kB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5061, allocations: 0 / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.5062, allocations: 23.97 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.5062, allocations: 3.938 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.5062, allocations: 4 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.5062, allocations: 7.938 kB / 1.025 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5063, allocations: 4 kB / 1.025 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.5066, allocations: 244.6 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.5067, allocations: 92.86 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.5067, allocations: 3.984 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.5068, allocations: 23.88 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.5069, allocations: 19.97 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.5069, allocations: 11.98 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.306e-05/0.507, allocations: 120.2 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.507, allocations: 0 / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002542/0.5073, allocations: 35.84 kB / 1.025 GB, free: 10.27 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.0006272/0.5079, allocations: 0.7996 MB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003863/0.5083, allocations: 139.8 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5083, allocations: 4.312 kB / 1.026 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.5085, allocations: 70.16 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.5088, allocations: 23.92 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.511, allocations: 1.91 MB / 1.028 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.5112, allocations: 0.7241 MB / 1.029 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.992e-05/0.5113, allocations: 25.55 kB / 1.029 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.141e-05/0.5114, allocations: 63.41 kB / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5114, allocations: 0 / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.145/1.656, allocations: 3.119 MB / 1.032 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.72/10.38, allocations: 14.53 kB / 1.032 GB, free: 3.418 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