Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002307/0.002307, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.895/2.895, allocations: 476.7 MB / 0.7611 GB, free: 15.73 MB / 0.6075 GB " [Timeout remaining time 176] 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.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_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_11_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 0.002158/0.002158, allocations: 75.88 kB / 1.104 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.006, allocations: 168.7 MB / 1.269 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002838/1.008, allocations: 1.442 MB / 1.27 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001615/1.01, allocations: 1.104 MB / 1.271 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/1.01, allocations: 4.625 kB / 1.271 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.564e-05/1.01, allocations: 35.2 kB / 1.271 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001962/1.01, allocations: 47.22 kB / 1.271 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/1.011, allocations: 122.4 kB / 1.271 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004429/1.011, allocations: 340.8 kB / 1.272 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000375/1.012, allocations: 159.4 kB / 1.272 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/1.012, allocations: 136.6 kB / 1.272 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/1.012, allocations: 154.4 kB / 1.272 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.84e-05/1.012, allocations: 38.03 kB / 1.272 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.559e-05/1.012, allocations: 38.97 kB / 1.272 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.402e-05/1.012, allocations: 78.27 kB / 1.272 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001478/1.013, allocations: 161.4 kB / 1.273 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000624/1.013, allocations: 490.9 kB / 1.273 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.013, allocations: 0 / 1.273 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.354e-06/1.013, allocations: 0 / 1.273 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.508e-06/1.013, allocations: 4.812 kB / 1.273 GB, free: 4.961 MB / 0.9981 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.0008235/1.014, allocations: 0.593 MB / 1.274 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/1.014, allocations: 9.875 kB / 1.274 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.731e-05/1.014, allocations: 68.12 kB / 1.274 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/1.014, allocations: 39.27 kB / 1.274 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/1.015, allocations: 333.2 kB / 1.274 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/1.015, allocations: 31.66 kB / 1.274 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.545e-05/1.015, allocations: 29.41 kB / 1.274 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000517/1.015, allocations: 296.7 kB / 1.274 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/1.015, allocations: 3.938 kB / 1.274 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/1.015, allocations: 15 kB / 1.274 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/1.015, allocations: 7.781 kB / 1.274 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005275/1.016, allocations: 240.5 kB / 1.275 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/1.017, allocations: 0.8181 MB / 1.275 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005026/1.018, allocations: 231.8 kB / 1.276 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/1.018, allocations: 105.3 kB / 1.276 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/1.018, allocations: 3.203 kB / 1.276 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/1.018, allocations: 36.8 kB / 1.276 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 1.723e-06/1.018, allocations: 0 / 1.276 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27): time 0.0007812/1.019, allocations: 320.9 kB / 1.276 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/1.019, allocations: 54.28 kB / 1.276 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/1.019, allocations: 211.3 kB / 1.276 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/1.019, allocations: 32.25 kB / 1.276 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.626e-05/1.019, allocations: 179.7 kB / 1.277 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/1.019, allocations: 88.72 kB / 1.277 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.581e-05/1.019, allocations: 62.72 kB / 1.277 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.985e-05/1.019, allocations: 334.4 kB / 1.277 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/1.019, allocations: 80.19 kB / 1.277 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/1.02, allocations: 142.7 kB / 1.277 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003916/1.02, allocations: 216.7 kB / 1.277 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/1.02, allocations: 4.906 kB / 1.277 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005198/1.02, allocations: 277 kB / 1.278 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/1.02, allocations: 9.719 kB / 1.278 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.02, allocations: 1.844 kB / 1.278 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/1.021, allocations: 11.69 kB / 1.278 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/1.021, allocations: 52.72 kB / 1.278 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/1.021, allocations: 2.688 kB / 1.278 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/1.021, allocations: 28.75 kB / 1.278 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/1.021, allocations: 13.84 kB / 1.278 GB, free: 1.742 MB / 0.9981 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.0001925/1.021, allocations: 156.1 kB / 1.278 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/1.021, allocations: 21.64 kB / 1.278 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005448/1.022, allocations: 261.1 kB / 1.278 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/1.022, allocations: 3.438 kB / 1.278 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/1.022, allocations: 3.938 kB / 1.278 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/1.022, allocations: 2.188 kB / 1.278 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004216/1.022, allocations: 347 kB / 1.279 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/1.022, allocations: 0 / 1.279 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/1.022, allocations: 41.14 kB / 1.279 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.022, allocations: 0.9688 kB / 1.279 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/1.022, allocations: 11.39 kB / 1.279 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/1.022, allocations: 4.688 kB / 1.279 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.022, allocations: 0 / 1.279 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/1.023, allocations: 331.2 kB / 1.279 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/1.023, allocations: 104 kB / 1.279 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/1.023, allocations: 10.23 kB / 1.279 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/1.023, allocations: 12.56 kB / 1.279 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.611e-05/1.023, allocations: 30.78 kB / 1.279 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/1.023, allocations: 6.984 kB / 1.279 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001181/1.023, allocations: 139 kB / 1.279 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.023, allocations: 0.5 kB / 1.279 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003383/1.024, allocations: 58.41 kB / 1.279 GB, free: 0.7227 MB / 0.9981 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.0008037/1.024, allocations: 0.878 MB / 1.28 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005955/1.025, allocations: 214.9 kB / 1.28 GB, free: 15.92 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.025, allocations: 0 / 1.28 GB, free: 15.92 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/1.025, allocations: 111.8 kB / 1.28 GB, free: 15.88 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/1.026, allocations: 30.23 kB / 1.28 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/1.029, allocations: 2.404 MB / 1.283 GB, free: 14.11 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/1.03, allocations: 0.7702 MB / 1.284 GB, free: 13.41 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001461/1.03, allocations: 33.83 kB / 1.284 GB, free: 13.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/1.03, allocations: 99.05 kB / 1.284 GB, free: 13.33 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/1.03, allocations: 1.688 kB / 1.284 GB, free: 13.33 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/1.059, allocations: 4.1 MB / 1.288 GB, free: 12.83 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/9.302, allocations: 7.375 kB / 1.288 GB, free: 12.82 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.787211841903627]