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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008528/0.000853, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004878/0.004878, allocations: 169.2 kB / 16.26 MB, free: 6.66 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.17/1.17, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.346/2.346, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000285/0.000285, allocations: 9.031 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2241, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.0012/0.2253, allocations: 0.8333 MB / 1.06 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.2264, allocations: 1.006 MB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.377e-05/0.2265, allocations: 0 / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.235e-05/0.2265, allocations: 11.86 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.2267, allocations: 15.81 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.2269, allocations: 79.94 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.227, allocations: 208.2 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.2273, allocations: 128 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.2274, allocations: 63.59 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.656e-05/0.2275, allocations: 71.56 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.2275, allocations: 8 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.741e-05/0.2275, allocations: 8 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.2276, allocations: 31.78 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.234e-05/0.2276, allocations: 97.19 kB / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.2279, allocations: 279.1 kB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2279, allocations: 0 / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2279, allocations: 0 / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.2279, allocations: 0 / 1.062 GB, free: 2.02 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.0005514/0.2284, allocations: 463.2 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2285, allocations: 15.97 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.273e-05/0.2285, allocations: 54.72 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.2286, allocations: 24.66 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.229, allocations: 292.2 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.229, allocations: 16.81 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.2291, allocations: 20.38 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.2295, allocations: 199.8 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2295, allocations: 7.875 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.2295, allocations: 12 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.2295, allocations: 12 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.2299, allocations: 169.6 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006985/0.2306, allocations: 0.5917 MB / 1.063 GB, free: 16 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.231, allocations: 162.7 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.2311, allocations: 76.81 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.2312, allocations: 4 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.2312, allocations: 34.56 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.223e-06/0.2312, allocations: 0 / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0005644/0.2318, allocations: 234.8 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.2318, allocations: 63.39 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.2319, allocations: 179.7 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.232, allocations: 25.7 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.232, allocations: 140.2 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.2321, allocations: 47.3 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.2321, allocations: 45.69 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.749e-05/0.2322, allocations: 322.8 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.2324, allocations: 59.97 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.2326, allocations: 111.3 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.2329, allocations: 162.3 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2329, allocations: 0 / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004083/0.2333, allocations: 214.7 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.2333, allocations: 4 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2333, allocations: 4 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.996e-06/0.2334, allocations: 0 / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.2335, allocations: 44.06 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2335, allocations: 0 / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.2337, allocations: 27.83 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.2337, allocations: 11.98 kB / 1.065 GB, free: 13.96 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.0001219/0.2338, allocations: 133.8 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.2338, allocations: 27.69 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.947e-05/0.2339, allocations: 17.86 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2339, allocations: 4 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2339, allocations: 0 / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2339, allocations: 3.938 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.2342, allocations: 277.4 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2342, allocations: 0 / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.2343, allocations: 27.97 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2343, allocations: 0 / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.2343, allocations: 8 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2343, allocations: 4 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2343, allocations: 0 / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.2347, allocations: 281.2 kB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.2348, allocations: 92.86 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.2348, allocations: 0 / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.2349, allocations: 15.98 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.235, allocations: 19.97 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.235, allocations: 7.938 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.14e-05/0.2351, allocations: 124.2 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2351, allocations: 4 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002476/0.2353, allocations: 35.84 kB / 1.066 GB, free: 12.82 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.0006181/0.236, allocations: 0.8228 MB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003766/0.2364, allocations: 162 kB / 1.067 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2364, allocations: 0 / 1.067 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.2365, allocations: 83.89 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.2368, allocations: 15.98 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.239, allocations: 2.055 MB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.2393, allocations: 0.736 MB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.952e-05/0.2394, allocations: 21.55 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.537e-05/0.2395, allocations: 67.41 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.2395, allocations: 0 / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9027/1.142, allocations: 2.897 MB / 1.073 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003137/1.143, allocations: 272.3 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/3.491, allocations: 0 / 1.073 GB, free: 5.684 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