Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_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.001196/0.001197, allocations: 108 kB / 15.6 MB, free: 132 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.001119/0.001119, allocations: 198.6 kB / 16.54 MB, free: 6.672 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.162/1.162, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.357/2.357, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.44 kB / 0.8992 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2201, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002423/0.2226, allocations: 1.306 MB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.2238, allocations: 1.084 MB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.2239, allocations: 11.94 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.2241, allocations: 39.59 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.961e-05/0.2242, allocations: 27.61 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.2244, allocations: 111.8 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.2247, allocations: 304.4 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/0.2249, allocations: 176.8 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.2251, allocations: 115.5 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.2252, allocations: 123.4 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.168e-05/0.2253, allocations: 35.94 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.877e-05/0.2253, allocations: 32 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.2254, allocations: 67.81 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.922e-05/0.2255, allocations: 127.3 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.2258, allocations: 398.9 kB / 1.057 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2258, allocations: 4 kB / 1.057 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2258, allocations: 0 / 1.057 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.2258, allocations: 0 / 1.057 GB, free: 4.289 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007231/0.2266, allocations: 0.542 MB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.2266, allocations: 8.625 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.559e-05/0.2267, allocations: 70.72 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.2267, allocations: 28.56 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.2272, allocations: 317 kB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.2272, allocations: 20.94 kB / 1.058 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.2272, allocations: 24.38 kB / 1.058 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/0.2277, allocations: 241.4 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.2277, allocations: 3.938 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.2277, allocations: 12 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.2277, allocations: 8 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004002/0.2281, allocations: 186.1 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008382/0.229, allocations: 0.6977 MB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.2294, allocations: 182.7 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.2295, allocations: 78.41 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.2296, allocations: 0 / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.2296, allocations: 38.56 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=19): time 1.032e-06/0.2296, allocations: 0 / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of matching and sorting (n=19): time 0.0005571/0.2302, allocations: 239 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.2302, allocations: 51.41 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.2304, allocations: 211.6 kB / 1.06 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.2304, allocations: 29.7 kB / 1.06 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.155e-05/0.2305, allocations: 168.4 kB / 1.06 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.2305, allocations: 51.3 kB / 1.06 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.2306, allocations: 65.92 kB / 1.06 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2307, allocations: 334.8 kB / 1.06 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.2309, allocations: 72.36 kB / 1.06 GB, free: 436 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.2311, allocations: 116.5 kB / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.2314, allocations: 180.7 kB / 1.061 GB, free: 92 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2314, allocations: 0 / 1.061 GB, free: 92 kB / 0.8106 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004347/0.2318, allocations: 225.3 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.2319, allocations: 5.781 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2319, allocations: 8 kB / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.2319, allocations: 4 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.2321, allocations: 39.91 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2321, allocations: 0 / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.2322, allocations: 27.83 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.2322, allocations: 12 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.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 (27): * Single equations (assignments): 27 * 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.0001278/0.2324, allocations: 155.2 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/0.2324, allocations: 15.81 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.228e-05/0.2325, allocations: 29.86 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2325, allocations: 4 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2325, allocations: 3.984 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2325, allocations: 0 / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.2328, allocations: 309.3 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2328, allocations: 0 / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.2329, allocations: 23.97 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2329, allocations: 4 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.2329, allocations: 8 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2329, allocations: 0 / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2329, allocations: 3.938 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.2334, allocations: 276.6 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.2334, allocations: 96.8 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.2334, allocations: 15.98 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.2336, allocations: 8 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.049e-05/0.2336, allocations: 31.95 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.2337, allocations: 4 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.638e-05/0.2338, allocations: 137.5 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2338, allocations: 0 / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002568/0.234, allocations: 47.84 kB / 1.062 GB, free: 14.53 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: 11 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0006405/0.2347, allocations: 0.8268 MB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003953/0.2351, allocations: 189.8 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.2351, allocations: 0 / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.2353, allocations: 79.89 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.2356, allocations: 31.94 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.2379, allocations: 2.197 MB / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.2382, allocations: 0.7485 MB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.2383, allocations: 29.94 kB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.2384, allocations: 79.41 kB / 1.066 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2384, allocations: 4 kB / 1.066 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6234/0.8618, allocations: 3.973 MB / 1.07 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.434/8.296, allocations: 7.953 kB / 1.07 GB, free: 6.41 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches