Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001453/0.001453, 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.00137/0.00137, allocations: 197.7 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.253/1.253, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.482/2.482, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 72.64 kB / 0.9087 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2274, allocations: 159.2 MB / 1.064 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002196/0.2296, allocations: 1.131 MB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.2306, allocations: 1.01 MB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.598e-05/0.2307, allocations: 4 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.985e-05/0.2308, allocations: 27.67 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.732e-05/0.2309, allocations: 31.66 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.2311, allocations: 79.92 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.2313, allocations: 232.1 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.2315, allocations: 128.1 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.2316, allocations: 95.62 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.2318, allocations: 99.48 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.903e-05/0.2318, allocations: 24 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.126e-05/0.2318, allocations: 24 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.924e-05/0.2319, allocations: 55.78 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.176e-05/0.232, allocations: 103.4 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.2322, allocations: 299.2 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.2322, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.031e-06/0.2322, allocations: 4 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.2323, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 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.0006249/0.2329, allocations: 499.1 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.2329, allocations: 8.031 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.478e-05/0.233, allocations: 58.72 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.233, allocations: 24.66 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.2334, allocations: 276.3 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.2335, allocations: 24.69 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.2335, allocations: 20.38 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.2339, allocations: 195.8 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.2339, allocations: 3.938 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.2339, allocations: 12 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2339, allocations: 7.938 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003667/0.2343, allocations: 157.7 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007111/0.235, allocations: 0.5956 MB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.2353, allocations: 158.6 kB / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.2355, allocations: 68.81 kB / 1.069 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.2355, allocations: 8 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.2356, allocations: 34.56 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.163e-06/0.2356, allocations: 0 / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0005405/0.2361, allocations: 218.8 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.2361, allocations: 51.41 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.2363, allocations: 191.9 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.2363, allocations: 25.7 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/0.2364, allocations: 144.1 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.2365, allocations: 47.45 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-05/0.2365, allocations: 53.69 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2367, allocations: 326.8 kB / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.2368, allocations: 47.97 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.237, allocations: 109.1 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.2373, allocations: 150.4 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2373, allocations: 0 / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003899/0.2377, allocations: 193.2 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.2377, allocations: 9.719 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.2378, allocations: 0 / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.2378, allocations: 4 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.2379, allocations: 31.97 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2379, allocations: 3.938 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.915e-05/0.238, allocations: 23.83 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.2381, allocations: 8 kB / 1.071 GB, free: 6.816 MB / 0.8262 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.0001171/0.2382, allocations: 141.8 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.2382, allocations: 15.81 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.2383, allocations: 21.86 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2383, allocations: 0 / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2383, allocations: 0 / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2383, allocations: 0 / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.2386, allocations: 281.3 kB / 1.071 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.2386, allocations: 0 / 1.071 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.2387, allocations: 27.91 kB / 1.071 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2387, allocations: 8 kB / 1.071 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.2387, allocations: 7.984 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2387, allocations: 3.938 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2387, allocations: 0 / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.2391, allocations: 263.1 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.2392, allocations: 85.02 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.2392, allocations: 15.88 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.2393, allocations: 11.98 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.2394, allocations: 15.98 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.2394, allocations: 11.98 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.986e-05/0.2395, allocations: 119.2 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2395, allocations: 0 / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002358/0.2397, allocations: 39.75 kB / 1.072 GB, free: 5.676 MB / 0.8262 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.0006626/0.2404, allocations: 0.8073 MB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003898/0.2408, allocations: 158 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.2408, allocations: 0 / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.241, allocations: 71.91 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.2412, allocations: 23.98 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.2434, allocations: 1.968 MB / 1.075 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.2437, allocations: 0.7319 MB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.289e-05/0.2438, allocations: 25.53 kB / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.207e-05/0.2439, allocations: 63.42 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2439, allocations: 0 / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.922/5.166, allocations: 3.22 MB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.795/13.96, allocations: 8.016 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches