Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006973/0.006973, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001687/0.001687, allocations: 201.9 kB / 16.68 MB, free: 5.977 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.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.192/2.192, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 62.5 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2111, allocations: 140.4 MB / 1.088 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.00201/0.2131, allocations: 1.123 MB / 1.089 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009408/0.2141, allocations: 0.9986 MB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.194e-05/0.2141, allocations: 4 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.059e-05/0.2142, allocations: 23.67 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.2143, allocations: 31.66 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.2145, allocations: 79.92 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.2147, allocations: 220.2 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.2149, allocations: 116.2 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.215, allocations: 95.58 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.834e-05/0.2151, allocations: 99.53 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.2152, allocations: 24 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.609e-05/0.2152, allocations: 24 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.926e-05/0.2153, allocations: 51.77 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.224e-05/0.2153, allocations: 99.47 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.2156, allocations: 281.8 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2156, allocations: 0 / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.285e-06/0.2156, allocations: 4 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.2156, allocations: 0 / 1.091 GB, free: 14.71 MB / 0.8575 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.000588/0.2162, allocations: 492 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.2162, allocations: 12.03 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.418e-05/0.2163, allocations: 50.73 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.2163, allocations: 24.66 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.2167, allocations: 272.3 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.2168, allocations: 16.81 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.2168, allocations: 20.12 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.2172, allocations: 191.2 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.2172, allocations: 4 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.2172, allocations: 8 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2172, allocations: 4 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003569/0.2176, allocations: 145.7 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006522/0.2182, allocations: 0.5647 MB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.2185, allocations: 134.6 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.2187, allocations: 64.77 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.2187, allocations: 7.938 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.2188, allocations: 42.55 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.2188, allocations: 0 / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0005375/0.2193, allocations: 201.3 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.2193, allocations: 55.34 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.2195, allocations: 187.7 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.2195, allocations: 33.7 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.2196, allocations: 132.2 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.2196, allocations: 35.53 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.018e-05/0.2197, allocations: 49.69 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.667e-05/0.2198, allocations: 326.8 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.2199, allocations: 51.95 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.2201, allocations: 97.11 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.2204, allocations: 143.6 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2204, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003726/0.2208, allocations: 181.3 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.2208, allocations: 9.656 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2208, allocations: 8.156 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.2209, allocations: 0 / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.221, allocations: 35.91 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2211, allocations: 4 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.2212, allocations: 23.83 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.2212, allocations: 4 kB / 1.094 GB, free: 10.88 MB / 0.8575 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.0001145/0.2213, allocations: 146.2 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.2213, allocations: 19.75 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.2214, allocations: 25.52 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2214, allocations: 0 / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2214, allocations: 0 / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2214, allocations: 0 / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.2216, allocations: 265.5 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2216, allocations: 3.984 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.2218, allocations: 23.92 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2218, allocations: 7.938 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.2218, allocations: 4 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2218, allocations: 0 / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2218, allocations: 0 / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.2222, allocations: 251.3 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.2222, allocations: 88.92 kB / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.2222, allocations: 3.938 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.2224, allocations: 15.98 kB / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.2224, allocations: 15.98 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.2225, allocations: 7.984 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.967e-05/0.2225, allocations: 123.2 kB / 1.095 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2225, allocations: 0 / 1.095 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002545/0.2228, allocations: 35.84 kB / 1.095 GB, free: 9.773 MB / 0.8575 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.0006004/0.2234, allocations: 0.7982 MB / 1.096 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003633/0.2238, allocations: 148 kB / 1.096 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2238, allocations: 4 kB / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.224, allocations: 67.95 kB / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.2242, allocations: 17.56 kB / 1.096 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.2263, allocations: 1.925 MB / 1.098 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.2265, allocations: 0.728 MB / 1.099 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.911e-05/0.2266, allocations: 33.52 kB / 1.099 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/0.2267, allocations: 55.42 kB / 1.099 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of SimCode: time 3e-07/0.2267, allocations: 0 / 1.099 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9956/1.222, allocations: 3.165 MB / 1.102 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.394/8.617, allocations: 11.62 kB / 1.102 GB, free: 2.863 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches