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.004587/0.004587, allocations: 96.73 kB / 15.73 MB, free: 6.039 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.001365/0.001365, allocations: 198.6 kB / 16.68 MB, free: 5.969 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.29/1.29, 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 11.1.0-maint.11.x/package.mo): time 2.535/2.535, allocations: 469.8 MB / 0.7425 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 67.89 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2552, allocations: 159.1 MB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002121/0.2574, allocations: 1.131 MB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.2585, allocations: 1.014 MB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.535e-05/0.2585, allocations: 8 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.806e-05/0.2586, allocations: 19.73 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.2587, allocations: 27.67 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.2589, allocations: 87.84 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.2591, allocations: 224.2 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.2594, allocations: 136.1 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.2595, allocations: 91.59 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.2596, allocations: 103.5 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.2597, allocations: 24 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.147e-05/0.2597, allocations: 24 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.2598, allocations: 51.84 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.741e-05/0.2599, allocations: 103.4 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.2602, allocations: 314.6 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2602, allocations: 0 / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2602, allocations: 4 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2602, allocations: 0 / 1.223 GB, free: 10.87 MB / 0.9825 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.0006562/0.2609, allocations: 0.4911 MB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2609, allocations: 12.03 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.798e-05/0.261, allocations: 50.73 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.261, allocations: 28.73 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.2614, allocations: 288.3 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.2615, allocations: 20.81 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.2615, allocations: 16.38 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.2619, allocations: 203.8 kB / 1.225 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2619, allocations: 3.938 kB / 1.225 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.2619, allocations: 8 kB / 1.225 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.2619, allocations: 4 kB / 1.225 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/0.2623, allocations: 165.6 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007238/0.2631, allocations: 0.5763 MB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.2634, allocations: 164.5 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.2636, allocations: 72.73 kB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.2636, allocations: 0 / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.2636, allocations: 42.5 kB / 1.226 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 9.72e-07/0.2637, allocations: 0 / 1.226 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.0005649/0.2642, allocations: 213.4 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.2643, allocations: 67.25 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.2644, allocations: 182.8 kB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.2645, allocations: 33.7 kB / 1.226 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.669e-05/0.2646, allocations: 144.4 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.2646, allocations: 43.64 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-05/0.2647, allocations: 53.7 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2648, allocations: 326.8 kB / 1.227 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.265, allocations: 55.97 kB / 1.227 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.2652, allocations: 95.36 kB / 1.227 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/0.2655, allocations: 151.1 kB / 1.227 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2655, allocations: 0 / 1.227 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003997/0.2659, allocations: 199.6 kB / 1.227 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.2659, allocations: 8 kB / 1.227 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2659, allocations: 0 / 1.227 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2659, allocations: 4 kB / 1.227 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.2661, allocations: 35.91 kB / 1.227 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2661, allocations: 4 kB / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.2662, allocations: 23.83 kB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.2663, allocations: 12.16 kB / 1.227 GB, free: 6.859 MB / 0.9825 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.0001283/0.2664, allocations: 145.7 kB / 1.227 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.2664, allocations: 15.91 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.2665, allocations: 21.86 kB / 1.227 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.2665, allocations: 7.984 kB / 1.227 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.2665, allocations: 0 / 1.227 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.2665, allocations: 0 / 1.227 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.2668, allocations: 273.5 kB / 1.228 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2668, allocations: 7.938 kB / 1.228 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.2669, allocations: 23.92 kB / 1.228 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2669, allocations: 3.984 kB / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.2669, allocations: 4 kB / 1.228 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2669, allocations: 0 / 1.228 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.2669, allocations: 0 / 1.228 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.2674, allocations: 263.2 kB / 1.228 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.2674, allocations: 92.95 kB / 1.228 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.2674, allocations: 7.984 kB / 1.228 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.2675, allocations: 8 kB / 1.228 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.2676, allocations: 23.97 kB / 1.228 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.2676, allocations: 4 kB / 1.228 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.64e-05/0.2677, allocations: 115.2 kB / 1.228 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.753e-06/0.2677, allocations: 3.938 kB / 1.228 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002458/0.268, allocations: 47.78 kB / 1.228 GB, free: 5.719 MB / 0.9825 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.0006982/0.2687, allocations: 0.8048 MB / 1.229 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003792/0.2691, allocations: 155.7 kB / 1.229 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2691, allocations: 0 / 1.229 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.2693, allocations: 75.89 kB / 1.229 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.2695, allocations: 22.03 kB / 1.229 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.2718, allocations: 1.976 MB / 1.231 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.2721, allocations: 0.728 MB / 1.232 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.724e-05/0.2722, allocations: 25.53 kB / 1.232 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.559e-05/0.2723, allocations: 59.42 kB / 1.232 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.2723, allocations: 0 / 1.232 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8571/1.129, allocations: 3.275 MB / 1.235 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.83/17.96, allocations: 10.36 kB / 1.235 GB, free: 14.64 MB / 0.9981 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