Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009787/0.0009787, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008228/0.0008228, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8561/0.8561, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.696/1.696, allocations: 377.8 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.964e-05, allocations: 9.094 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001792/0.001812, allocations: 1.316 MB / 0.9823 GB, free: 1.234 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.002956, allocations: 1.124 MB / 0.9834 GB, free: 100 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.003071, allocations: 8 kB / 0.9834 GB, free: 92 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 6.924e-05/0.00314, allocations: 35.53 kB / 0.9834 GB, free: 56 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.003292, allocations: 51.47 kB / 0.9835 GB, free: 4 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.003631, allocations: 127.8 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.003859, allocations: 344.6 kB / 0.9839 GB, free: 15.54 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.004084, allocations: 150.4 kB / 0.9841 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.004316, allocations: 203.6 kB / 0.9843 GB, free: 15.2 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.004424, allocations: 115.5 kB / 0.9844 GB, free: 15.08 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.004461, allocations: 40 kB / 0.9844 GB, free: 15.04 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.004658, allocations: 47.92 kB / 0.9844 GB, free: 15 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.041e-05/0.004698, allocations: 75.75 kB / 0.9845 GB, free: 14.92 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.416e-05/0.004762, allocations: 107.7 kB / 0.9846 GB, free: 14.82 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.00511, allocations: 498.3 kB / 0.9851 GB, free: 14.33 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.005113, allocations: 0 / 0.9851 GB, free: 14.33 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.363e-06/0.005114, allocations: 0 / 0.9851 GB, free: 14.33 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.00512, allocations: 0 / 0.9851 GB, free: 14.33 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0006308/0.005751, allocations: 0.5173 MB / 0.9856 GB, free: 13.78 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.005796, allocations: 8.031 kB / 0.9856 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.67e-05/0.005853, allocations: 70.72 kB / 0.9857 GB, free: 13.69 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.005967, allocations: 44.69 kB / 0.9857 GB, free: 13.65 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.006315, allocations: 267.5 kB / 0.986 GB, free: 13.36 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.006339, allocations: 25.38 kB / 0.986 GB, free: 13.34 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.006368, allocations: 36.38 kB / 0.986 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.006699, allocations: 295.1 kB / 0.9863 GB, free: 13.01 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.006709, allocations: 192 / 0.9863 GB, free: 13.01 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.006728, allocations: 16.38 kB / 0.9863 GB, free: 12.99 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.006736, allocations: 12.12 kB / 0.9863 GB, free: 12.98 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.007043, allocations: 243.7 kB / 0.9866 GB, free: 12.74 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007324/0.007775, allocations: 0.7009 MB / 0.9873 GB, free: 12 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.008085, allocations: 230.5 kB / 0.9875 GB, free: 11.77 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.008217, allocations: 105.2 kB / 0.9876 GB, free: 11.66 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.008242, allocations: 8.234 kB / 0.9876 GB, free: 11.65 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.008267, allocations: 34.78 kB / 0.9876 GB, free: 11.61 MB / 0.948 GB Notification: Performance of pre-optimization done (n=27): time 1.362e-06/0.008268, allocations: 0 / 0.9876 GB, free: 11.61 MB / 0.948 GB Notification: Performance of matching and sorting (n=27): time 0.0004364/0.008705, allocations: 309.4 kB / 0.9879 GB, free: 11.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.008733, allocations: 55.41 kB / 0.988 GB, free: 11.24 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.00886, allocations: 219.6 kB / 0.9882 GB, free: 11.02 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.008875, allocations: 29.7 kB / 0.9882 GB, free: 10.98 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/0.008954, allocations: 184.5 kB / 0.9884 GB, free: 10.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.008991, allocations: 79.28 kB / 0.9885 GB, free: 10.72 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/0.009053, allocations: 69.92 kB / 0.9885 GB, free: 10.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.161e-05/0.009135, allocations: 334.8 kB / 0.9888 GB, free: 10.31 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.009251, allocations: 80.52 kB / 0.9889 GB, free: 10.23 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.00939, allocations: 144.4 kB / 0.9891 GB, free: 10.07 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.009628, allocations: 224.3 kB / 0.9893 GB, free: 9.824 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.00963, allocations: 0 / 0.9893 GB, free: 9.824 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002928/0.009923, allocations: 269.3 kB / 0.9895 GB, free: 9.555 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.009937, allocations: 10.97 kB / 0.9895 GB, free: 9.547 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.009942, allocations: 224 / 0.9895 GB, free: 9.547 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.009954, allocations: 8 kB / 0.9895 GB, free: 9.539 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.01009, allocations: 55.89 kB / 0.9896 GB, free: 9.484 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.01009, allocations: 7.938 kB / 0.9896 GB, free: 9.477 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/0.01016, allocations: 31.77 kB / 0.9896 GB, free: 9.445 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.01017, allocations: 12 kB / 0.9896 GB, free: 9.434 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.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 (34): * Single equations (assignments): 34 * 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.0001223/0.01029, allocations: 149.8 kB / 0.9898 GB, free: 9.277 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.01032, allocations: 19.86 kB / 0.9898 GB, free: 9.258 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.01064, allocations: 256.1 kB / 0.9901 GB, free: 9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.01065, allocations: 4 kB / 0.9901 GB, free: 8.996 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01065, allocations: 0 / 0.9901 GB, free: 8.996 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.01066, allocations: 7.922 kB / 0.9901 GB, free: 8.988 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.01088, allocations: 296.5 kB / 0.9903 GB, free: 8.656 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.01089, allocations: 3.984 kB / 0.9904 GB, free: 8.652 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.906e-05/0.01098, allocations: 35.98 kB / 0.9904 GB, free: 8.617 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01098, allocations: 4 kB / 0.9904 GB, free: 8.613 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.01099, allocations: 7.984 kB / 0.9904 GB, free: 8.605 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01099, allocations: 4 kB / 0.9904 GB, free: 8.602 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01099, allocations: 3.938 kB / 0.9904 GB, free: 8.598 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.01129, allocations: 335.7 kB / 0.9907 GB, free: 8.254 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.01131, allocations: 35.78 kB / 0.9908 GB, free: 8.219 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.01133, allocations: 4 kB / 0.9908 GB, free: 8.215 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.997e-05/0.01139, allocations: 19.94 kB / 0.9908 GB, free: 8.195 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.01145, allocations: 27.89 kB / 0.9908 GB, free: 8.168 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.01146, allocations: 11.98 kB / 0.9908 GB, free: 8.156 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.829e-05/0.01153, allocations: 133.5 kB / 0.9909 GB, free: 8.027 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01153, allocations: 0 / 0.9909 GB, free: 8.027 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001929/0.01172, allocations: 67.72 kB / 0.991 GB, free: 7.961 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0006006/0.01232, allocations: 0.8733 MB / 0.9919 GB, free: 7.059 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002865/0.01261, allocations: 207.8 kB / 0.9921 GB, free: 6.855 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.01261, allocations: 0 / 0.9921 GB, free: 6.855 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.01273, allocations: 112.8 kB / 0.9922 GB, free: 6.746 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.01295, allocations: 36.3 kB / 0.9922 GB, free: 6.711 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.01481, allocations: 2.392 MB / 0.9945 GB, free: 4.188 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.281e-05/0.01491, allocations: 155.5 kB / 0.9947 GB, free: 4.016 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.706e-05/0.01498, allocations: 38.22 kB / 0.9947 GB, free: 3.98 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.01509, allocations: 100.5 kB / 0.9948 GB, free: 3.879 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.01509, allocations: 0 / 0.9948 GB, free: 3.879 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.03131, allocations: 4.796 MB / 0.9995 GB, free: 15.32 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.769/6.8, allocations: 9.891 kB / 0.9995 GB, free: 15.31 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.728451774455607]