Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001244/0.001244, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.193/1.193, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.089/2.089, allocations: 390.2 MB / 0.6647 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 59.91 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5114/0.5126, allocations: 140.4 MB / 0.9498 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002175/0.5149, allocations: 1.428 MB / 0.9512 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000882/0.5157, allocations: 1.1 MB / 0.9522 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.056e-05/0.5158, allocations: 3.844 kB / 0.9522 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.314e-05/0.5159, allocations: 36.69 kB / 0.9523 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.516, allocations: 33.64 kB / 0.9523 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.5163, allocations: 120.6 kB / 0.9524 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.5165, allocations: 332.9 kB / 0.9527 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.5168, allocations: 211.9 kB / 0.9529 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.5169, allocations: 141 kB / 0.9531 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.517, allocations: 145.6 kB / 0.9532 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.831e-05/0.5171, allocations: 37.34 kB / 0.9532 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.035e-05/0.5171, allocations: 38.59 kB / 0.9533 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.5172, allocations: 76.7 kB / 0.9534 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.493e-05/0.5173, allocations: 156.5 kB / 0.9535 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.5175, allocations: 457.6 kB / 0.9539 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5176, allocations: 0.9375 kB / 0.9539 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5176, allocations: 7.875 kB / 0.954 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.5176, allocations: 0 / 0.954 GB, free: 5.773 MB / 0.7169 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.0006316/0.5182, allocations: 0.5793 MB / 0.9545 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.5182, allocations: 10.06 kB / 0.9545 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.33e-05/0.5183, allocations: 68.47 kB / 0.9546 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.5184, allocations: 34.41 kB / 0.9546 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.5188, allocations: 333.4 kB / 0.9549 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.5188, allocations: 28.06 kB / 0.955 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.5189, allocations: 32.69 kB / 0.955 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.5193, allocations: 287.4 kB / 0.9553 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5193, allocations: 0 / 0.9553 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.5194, allocations: 11.69 kB / 0.9553 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.5194, allocations: 6.969 kB / 0.9553 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004664/0.5198, allocations: 233.2 kB / 0.9555 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007969/0.5206, allocations: 0.8159 MB / 0.9563 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/0.521, allocations: 228.3 kB / 0.9565 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.5212, allocations: 114.3 kB / 0.9566 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.5213, allocations: 5.891 kB / 0.9566 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.23e-05/0.5213, allocations: 32.84 kB / 0.9567 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.333e-06/0.5213, allocations: 0 / 0.9567 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0006342/0.5219, allocations: 307.1 kB / 0.957 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.522, allocations: 58.62 kB / 0.957 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.5221, allocations: 210.5 kB / 0.9572 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.5221, allocations: 30.98 kB / 0.9573 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.5222, allocations: 172.4 kB / 0.9574 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.5222, allocations: 84.81 kB / 0.9575 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/0.5223, allocations: 66.83 kB / 0.9576 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.561e-05/0.5224, allocations: 331.2 kB / 0.9579 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.5226, allocations: 74.52 kB / 0.958 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.5228, allocations: 146.4 kB / 0.9581 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.5231, allocations: 207.8 kB / 0.9583 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5231, allocations: 0 / 0.9583 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000464/0.5236, allocations: 268 kB / 0.9585 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.5236, allocations: 15.83 kB / 0.9586 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5236, allocations: 5.375 kB / 0.9586 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.5236, allocations: 12 kB / 0.9586 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.5239, allocations: 50.41 kB / 0.9586 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.5239, allocations: 8.062 kB / 0.9586 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.524, allocations: 25.45 kB / 0.9587 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.524, allocations: 12.25 kB / 0.9587 GB, free: 2.102 MB / 0.7169 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 9.324e-05/0.5241, allocations: 154.8 kB / 0.9588 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.5242, allocations: 29.28 kB / 0.9588 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/0.5246, allocations: 241.2 kB / 0.9591 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5246, allocations: 3 kB / 0.9591 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.5246, allocations: 0 / 0.9591 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5246, allocations: 7.984 kB / 0.9591 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.5249, allocations: 343.5 kB / 0.9594 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.5249, allocations: 1.312 kB / 0.9594 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.5251, allocations: 40.41 kB / 0.9595 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.5251, allocations: 5.094 kB / 0.9595 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.5251, allocations: 6.062 kB / 0.9595 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.5251, allocations: 1.094 kB / 0.9595 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5251, allocations: 0 / 0.9595 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.5255, allocations: 337.2 kB / 0.9598 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.5256, allocations: 91.98 kB / 0.9599 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.5256, allocations: 9.031 kB / 0.9599 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.5257, allocations: 12.95 kB / 0.9599 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.5258, allocations: 23.47 kB / 0.9599 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.5258, allocations: 9.312 kB / 0.9599 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.367e-05/0.5259, allocations: 140.3 kB / 0.9601 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5259, allocations: 0 / 0.9601 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002716/0.5262, allocations: 61.38 kB / 0.9601 GB, free: 0.9648 MB / 0.7169 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.0005713/0.5268, allocations: 0.8821 MB / 0.961 GB, free: 196 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004582/0.5272, allocations: 215.5 kB / 0.9612 GB, free: 104 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.5272, allocations: 4.969 kB / 0.9612 GB, free: 100 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.5274, allocations: 112.1 kB / 0.9613 GB, free: 52 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.5278, allocations: 33.05 kB / 0.9613 GB, free: 28 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/0.5304, allocations: 2.38 MB / 0.9637 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.5307, allocations: 0.7649 MB / 0.9644 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.5308, allocations: 33.91 kB / 0.9644 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.5309, allocations: 96.09 kB / 0.9645 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.5309, allocations: 0 / 0.9645 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.549, allocations: 3.964 MB / 0.9684 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.508/7.057, allocations: 22.5 kB / 0.9684 GB, free: 11.39 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches