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.0007767/0.0007767, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.005088/0.005088, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.19/1.19, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.243/2.243, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003573, allocations: 8 kB / 0.873 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5117/0.5121, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.001093/0.5132, allocations: 0.8163 MB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.5143, allocations: 0.9947 MB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.049e-05/0.5144, allocations: 4 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.641e-05/0.5144, allocations: 11.86 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.555e-05/0.5145, allocations: 23.8 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.5147, allocations: 67.94 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.5149, allocations: 196.2 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.5151, allocations: 116.2 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.5152, allocations: 63.59 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.122e-05/0.5153, allocations: 75.55 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.5153, allocations: 4 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.557e-05/0.5154, allocations: 4 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.5154, allocations: 23.86 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.705e-05/0.5155, allocations: 101.2 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.5157, allocations: 261.3 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.5157, allocations: 0 / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5157, allocations: 0 / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.5157, allocations: 4 kB / 1.026 GB, free: 13.03 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.0005481/0.5163, allocations: 455.2 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.5163, allocations: 8.031 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.035e-05/0.5164, allocations: 54.73 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.5164, allocations: 28.64 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004037/0.5168, allocations: 280.3 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.5168, allocations: 20.81 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.5169, allocations: 16.38 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.5172, allocations: 195.4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.5173, allocations: 3.938 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.5173, allocations: 12 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.5173, allocations: 4 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/0.5177, allocations: 165.6 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006926/0.5184, allocations: 0.5725 MB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.5187, allocations: 133 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.5188, allocations: 72.81 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.5189, allocations: 0 / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.5189, allocations: 34.56 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 9.41e-07/0.5189, allocations: 0 / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0005507/0.5194, allocations: 225.2 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.5195, allocations: 55.41 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.5196, allocations: 170.3 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.5196, allocations: 29.7 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.5197, allocations: 148.1 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.5198, allocations: 43.45 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.5198, allocations: 37.7 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.257e-05/0.5199, allocations: 322.8 kB / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.52, allocations: 55.95 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.5202, allocations: 106.7 kB / 1.029 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.5205, allocations: 147.4 kB / 1.029 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5206, allocations: 4 kB / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00039/0.521, allocations: 197.2 kB / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.521, allocations: 4.156 kB / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.521, allocations: 8 kB / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.521, allocations: 3.938 kB / 1.029 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.5212, allocations: 39.97 kB / 1.029 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.5212, allocations: 3.938 kB / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.5213, allocations: 23.83 kB / 1.029 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.5213, allocations: 12 kB / 1.029 GB, free: 9.133 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.000104/0.5214, allocations: 138.4 kB / 1.03 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.5215, allocations: 7.906 kB / 1.03 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.5215, allocations: 33.39 kB / 1.03 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5215, allocations: 0 / 1.03 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5215, allocations: 4 kB / 1.03 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.5215, allocations: 0 / 1.03 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.5218, allocations: 257.5 kB / 1.03 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5218, allocations: 4 kB / 1.03 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.5219, allocations: 31.91 kB / 1.03 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5219, allocations: 7.938 kB / 1.03 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.5219, allocations: 7.938 kB / 1.03 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.522, allocations: 0 / 1.03 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.522, allocations: 0 / 1.03 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.5223, allocations: 268.5 kB / 1.03 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.5224, allocations: 92.86 kB / 1.03 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.5224, allocations: 7.938 kB / 1.03 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.5225, allocations: 11.98 kB / 1.03 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.5226, allocations: 19.92 kB / 1.03 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.5226, allocations: 15.98 kB / 1.03 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.78e-05/0.5227, allocations: 121.8 kB / 1.03 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5227, allocations: 0 / 1.03 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002466/0.523, allocations: 35.84 kB / 1.03 GB, free: 8.004 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.0005996/0.5236, allocations: 0.7983 MB / 1.031 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003542/0.5239, allocations: 156.8 kB / 1.031 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5239, allocations: 0 / 1.031 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.5241, allocations: 81.05 kB / 1.031 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.5244, allocations: 20 kB / 1.031 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.5265, allocations: 2.016 MB / 1.033 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.5267, allocations: 0.7244 MB / 1.034 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.647e-05/0.5268, allocations: 21.55 kB / 1.034 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.644e-05/0.5269, allocations: 55.41 kB / 1.034 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.5269, allocations: 4 kB / 1.034 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.407/1.934, allocations: 2.803 MB / 1.037 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002879/1.934, allocations: 270.7 kB / 1.037 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/3.5, allocations: 1.875 kB / 1.037 GB, free: 1.043 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