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.009888/0.009889, allocations: 102 kB / 15.73 MB, free: 6.441 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.002436/0.002436, allocations: 192.9 kB / 16.67 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.511/2.511, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.979/4.979, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003189/0.00319, allocations: 63.89 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4089, allocations: 151.6 MB / 1.166 GB, free: 7.344 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.00446/0.4135, allocations: 1.428 MB / 1.168 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002403/0.4159, allocations: 1.096 MB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.4161, allocations: 4 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.4163, allocations: 35.53 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.4166, allocations: 27.61 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.417, allocations: 127.8 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005562/0.4176, allocations: 336.6 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005434/0.4182, allocations: 206 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.4185, allocations: 135.4 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.4188, allocations: 151.2 kB / 1.17 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.564e-05/0.4189, allocations: 40 kB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.417e-05/0.419, allocations: 40 kB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.4191, allocations: 79.7 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.4194, allocations: 151.2 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007986/0.4202, allocations: 478.2 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4202, allocations: 0 / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.684e-06/0.4202, allocations: 0 / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.4202, allocations: 0 / 1.17 GB, free: 3.016 MB / 0.92 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.001388/0.4216, allocations: 0.5922 MB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.4217, allocations: 12.03 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.4218, allocations: 70.72 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.422, allocations: 40.7 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008866/0.4229, allocations: 325.2 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/0.4229, allocations: 29.03 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-05/0.423, allocations: 32.38 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009525/0.424, allocations: 286.6 kB / 1.172 GB, free: 1.539 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.424, allocations: 3.938 kB / 1.172 GB, free: 1.535 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.549e-05/0.4241, allocations: 12 kB / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.4241, allocations: 11.98 kB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009769/0.4251, allocations: 234.5 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.427, allocations: 0.7961 MB / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008063/0.4279, allocations: 230.7 kB / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004175/0.4283, allocations: 108.8 kB / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.081e-05/0.4284, allocations: 8 kB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.4284, allocations: 34.5 kB / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of pre-optimization done (n=26): time 5.69e-06/0.4284, allocations: 3.984 kB / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of matching and sorting (n=26): time 0.001389/0.4298, allocations: 307.6 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.4299, allocations: 55.41 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.4303, allocations: 215.6 kB / 1.174 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.4303, allocations: 29.7 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.4305, allocations: 176.5 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.4307, allocations: 83.27 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.4309, allocations: 69.97 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002218/0.4311, allocations: 326.8 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.4315, allocations: 76.5 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004638/0.432, allocations: 163.7 kB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007989/0.4328, allocations: 205.3 kB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.4328, allocations: 4 kB / 1.175 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001015/0.4338, allocations: 277.1 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.4339, allocations: 4 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.4339, allocations: 4 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.709e-05/0.434, allocations: 7.938 kB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/0.4344, allocations: 51.91 kB / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.4345, allocations: 0 / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.4347, allocations: 40.05 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.4348, allocations: 8 kB / 1.175 GB, free: 13.87 MB / 0.9356 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.0002634/0.4351, allocations: 152.2 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.4352, allocations: 23.86 kB / 1.175 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009627/0.4362, allocations: 243.5 kB / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.4362, allocations: 7.938 kB / 1.176 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.4362, allocations: 3.984 kB / 1.176 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4362, allocations: 0 / 1.176 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007125/0.4369, allocations: 345.4 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.437, allocations: 0 / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000353/0.4373, allocations: 43.91 kB / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.4373, allocations: 0 / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.4374, allocations: 4 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/0.4374, allocations: 7.938 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4374, allocations: 4 kB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009243/0.4383, allocations: 328.8 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.4385, allocations: 96.91 kB / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.4385, allocations: 4 kB / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.4388, allocations: 19.92 kB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.4389, allocations: 27.97 kB / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.439, allocations: 8 kB / 1.176 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002082/0.4392, allocations: 136.2 kB / 1.177 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.21e-07/0.4392, allocations: 0 / 1.177 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006287/0.4398, allocations: 59.78 kB / 1.177 GB, free: 12.29 MB / 0.9356 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.00148/0.4413, allocations: 0.8732 MB / 1.177 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009167/0.4423, allocations: 214 kB / 1.178 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.4423, allocations: 4 kB / 1.178 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004349/0.4427, allocations: 111.8 kB / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000671/0.4434, allocations: 42.16 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00543/0.4489, allocations: 2.381 MB / 1.18 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.4495, allocations: 0.7635 MB / 1.181 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002519/0.4498, allocations: 38.27 kB / 1.181 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.4501, allocations: 95.41 kB / 1.181 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of SimCode: time 6.71e-07/0.4501, allocations: 0 / 1.181 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09607/0.5462, allocations: 4.034 MB / 1.185 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/14.76, allocations: 19.14 kB / 1.185 GB, free: 3.762 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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