Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_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_latest_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.001234/0.001234, allocations: 104 kB / 15.6 MB, free: 148 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.00122/0.00122, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.204/1.204, allocations: 222.9 MB / 240.2 MB, free: 4.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.358/2.358, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 70.64 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2257, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002242/0.2279, allocations: 1.146 MB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.229, allocations: 1.019 MB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.065e-05/0.2291, allocations: 0 / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.956e-05/0.2292, allocations: 23.72 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.2293, allocations: 31.67 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.2295, allocations: 87.84 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.2297, allocations: 224.2 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/0.2299, allocations: 128.1 kB / 1.056 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.2301, allocations: 103.6 kB / 1.056 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.2302, allocations: 95.55 kB / 1.056 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.2303, allocations: 24 kB / 1.056 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.834e-05/0.2303, allocations: 24 kB / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.2303, allocations: 51.78 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.687e-05/0.2304, allocations: 103.5 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.2307, allocations: 303.2 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2307, allocations: 0 / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2307, allocations: 0 / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2307, allocations: 0 / 1.056 GB, free: 4.91 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006054/0.2313, allocations: 499.2 kB / 1.057 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.2314, allocations: 8.625 kB / 1.057 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.374e-05/0.2314, allocations: 58.67 kB / 1.057 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.2315, allocations: 28.56 kB / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.2319, allocations: 272.3 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.2319, allocations: 16.8 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.2319, allocations: 24.31 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.2323, allocations: 199.8 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.2323, allocations: 7.875 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.2323, allocations: 8 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.2323, allocations: 11.98 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003622/0.2327, allocations: 157.6 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006852/0.2334, allocations: 0.5878 MB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/0.2337, allocations: 167.6 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.2339, allocations: 72.81 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.2339, allocations: 3.938 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.2339, allocations: 38.55 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.382e-06/0.2339, allocations: 4 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.000552/0.2345, allocations: 214.5 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.2345, allocations: 55.41 kB / 1.059 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.2347, allocations: 179.9 kB / 1.059 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.2347, allocations: 29.7 kB / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.2348, allocations: 140.2 kB / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.2348, allocations: 51.36 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/0.2349, allocations: 49.7 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.241e-05/0.235, allocations: 330.8 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.2351, allocations: 51.97 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.2353, allocations: 101 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.2356, allocations: 150.5 kB / 1.06 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2356, allocations: 0 / 1.06 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003797/0.236, allocations: 195 kB / 1.06 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.236, allocations: 4 kB / 1.06 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.236, allocations: 0 / 1.06 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.2361, allocations: 8.156 kB / 1.06 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.2362, allocations: 35.91 kB / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2362, allocations: 0 / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.2364, allocations: 23.83 kB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.2364, allocations: 12 kB / 1.06 GB, free: 0.9141 MB / 0.8106 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.00012/0.2365, allocations: 143.7 kB / 1.06 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.2365, allocations: 19.81 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.2366, allocations: 29.86 kB / 1.06 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2366, allocations: 0 / 1.06 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2366, allocations: 0 / 1.06 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2366, allocations: 0 / 1.06 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.2368, allocations: 277.3 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2369, allocations: 3.938 kB / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.237, allocations: 27.97 kB / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.237, allocations: 4 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.237, allocations: 0 / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.237, allocations: 0 / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.237, allocations: 7.938 kB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.2374, allocations: 256.8 kB / 1.061 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.2374, allocations: 92.91 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.2375, allocations: 8 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.2376, allocations: 4 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.2377, allocations: 27.97 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.2377, allocations: 7.938 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.313e-05/0.2377, allocations: 124.2 kB / 1.061 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2377, allocations: 0 / 1.061 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002457/0.238, allocations: 35.84 kB / 1.061 GB, free: 15.78 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.00062/0.2386, allocations: 0.8132 MB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003722/0.239, allocations: 157.2 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.239, allocations: 4.312 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.2392, allocations: 79.89 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.2395, allocations: 22.48 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.2415, allocations: 1.957 MB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.2418, allocations: 0.7358 MB / 1.065 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.879e-05/0.2419, allocations: 21.53 kB / 1.065 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.774e-05/0.242, allocations: 67.41 kB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.242, allocations: 0 / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.178/1.42, allocations: 3.207 MB / 1.068 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/12.32, allocations: 5.969 kB / 1.068 GB, free: 8.738 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches