Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_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_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_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.00468/0.00468, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.00138/0.00138, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.242/2.242, allocations: 437.1 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 59.91 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5795/0.5812, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.0023/0.5835, allocations: 1.445 MB / 1.168 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.5847, allocations: 1.1 MB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.213e-05/0.5848, allocations: 4 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 7.411e-05/0.5849, allocations: 35.53 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.585, allocations: 39.55 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.5852, allocations: 115.9 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.5855, allocations: 332.7 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/0.5858, allocations: 213.9 kB / 1.169 GB, free: 500 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.586, allocations: 135.4 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.5862, allocations: 147.2 kB / 1.17 GB, free: 216 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.44e-05/0.5862, allocations: 36 kB / 1.17 GB, free: 180 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.201e-05/0.5863, allocations: 40 kB / 1.17 GB, free: 140 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.093e-05/0.5864, allocations: 75.77 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.5865, allocations: 159.2 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004079/0.5869, allocations: 481.6 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5869, allocations: 4 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5869, allocations: 0 / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.5869, allocations: 0 / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00075/0.5877, allocations: 0.5845 MB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.5877, allocations: 12.56 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.332e-05/0.5878, allocations: 70.72 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.5879, allocations: 36.7 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.5883, allocations: 329.2 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.5884, allocations: 25.03 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.5884, allocations: 32.38 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004827/0.5889, allocations: 282.6 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.5889, allocations: 3.938 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.589, allocations: 16 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.589, allocations: 8 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004753/0.5895, allocations: 230.5 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009984/0.5905, allocations: 0.8078 MB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004268/0.5909, allocations: 229.1 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.5911, allocations: 116.7 kB / 1.173 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.5912, allocations: 4 kB / 1.173 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.5912, allocations: 34.56 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 1.313e-06/0.5912, allocations: 3.938 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.0006618/0.5919, allocations: 304.1 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.5919, allocations: 55.41 kB / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.5921, allocations: 211.7 kB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.5921, allocations: 25.7 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.5922, allocations: 184.5 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/0.5923, allocations: 75.33 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.904e-05/0.5924, allocations: 77.91 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5925, allocations: 330.8 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.5927, allocations: 76.52 kB / 1.174 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.5929, allocations: 145 kB / 1.175 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/0.5933, allocations: 218.6 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5934, allocations: 0 / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000498/0.5939, allocations: 259.7 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.5939, allocations: 16.02 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5939, allocations: 0 / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.5939, allocations: 7.938 kB / 1.175 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.5941, allocations: 55.91 kB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.5941, allocations: 7.938 kB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.5943, allocations: 31.77 kB / 1.175 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.5943, allocations: 8 kB / 1.175 GB, free: 10.32 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (33): * Single equations (assignments): 33 * 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.000135/0.5944, allocations: 153.8 kB / 1.175 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.5945, allocations: 23.86 kB / 1.175 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004986/0.595, allocations: 245.6 kB / 1.176 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.595, allocations: 7.938 kB / 1.176 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.595, allocations: 0 / 1.176 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.595, allocations: 3.984 kB / 1.176 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.5954, allocations: 349.4 kB / 1.176 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5954, allocations: 0 / 1.176 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.5955, allocations: 47.91 kB / 1.176 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.5956, allocations: 0 / 1.176 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.5956, allocations: 8 kB / 1.176 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.5956, allocations: 3.938 kB / 1.176 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5956, allocations: 0 / 1.176 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000466/0.5961, allocations: 338.5 kB / 1.176 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-05/0.5961, allocations: 100.9 kB / 1.176 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.5962, allocations: 8 kB / 1.176 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.5963, allocations: 15.92 kB / 1.176 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.5964, allocations: 23.97 kB / 1.176 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.5964, allocations: 8 kB / 1.176 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001007/0.5965, allocations: 136.2 kB / 1.177 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5965, allocations: 4 kB / 1.177 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002605/0.5968, allocations: 63.72 kB / 1.177 GB, free: 8.711 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0007593/0.5975, allocations: 0.8707 MB / 1.177 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004541/0.598, allocations: 213.2 kB / 1.178 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.598, allocations: 0 / 1.178 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.5982, allocations: 107.9 kB / 1.178 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.5985, allocations: 36.22 kB / 1.178 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.6012, allocations: 2.374 MB / 1.18 GB, free: 4.973 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.6015, allocations: 0.7636 MB / 1.181 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000122/0.6016, allocations: 26.28 kB / 1.181 GB, free: 4.156 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.6018, allocations: 95.41 kB / 1.181 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.6018, allocations: 8 kB / 1.181 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.622/3.223, allocations: 4.029 MB / 1.185 GB, free: 232 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.449/11.67, allocations: 10.42 kB / 1.185 GB, free: 224 kB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches