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.004091/0.004091, allocations: 97.95 kB / 15.73 MB, free: 6.062 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.001038/0.001038, allocations: 194.9 kB / 16.68 MB, free: 5.969 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.156/2.156, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.89 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6302/0.6315, allocations: 140.4 MB / 1.088 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002187/0.6337, allocations: 1.423 MB / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.6347, allocations: 1.092 MB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.6349, allocations: 5.219 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.714e-05/0.6349, allocations: 35.25 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.6351, allocations: 48.03 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.6353, allocations: 121.4 kB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.6356, allocations: 337.9 kB / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002881/0.6359, allocations: 204.3 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.6361, allocations: 136.4 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.6362, allocations: 145.3 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.966e-05/0.6363, allocations: 43 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.975e-05/0.6364, allocations: 41.22 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.952e-05/0.6364, allocations: 82.05 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.805e-05/0.6365, allocations: 152.3 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004481/0.637, allocations: 473.9 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.637, allocations: 0.6094 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.143e-06/0.637, allocations: 0.75 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.637, allocations: 0 / 1.092 GB, free: 2.504 MB / 0.8575 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.0007021/0.6377, allocations: 0.5901 MB / 1.092 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.6378, allocations: 14.48 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.362e-05/0.6378, allocations: 69.03 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.753e-05/0.6379, allocations: 38.2 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/0.6384, allocations: 330 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.6384, allocations: 24.77 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.6385, allocations: 37.08 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005436/0.639, allocations: 288.1 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.639, allocations: 0 / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.6391, allocations: 11.47 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.6391, allocations: 7.594 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005422/0.6396, allocations: 231.4 kB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.6406, allocations: 0.8018 MB / 1.094 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.6411, allocations: 227.9 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.6414, allocations: 115.1 kB / 1.094 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.6414, allocations: 7.688 kB / 1.094 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.6414, allocations: 44.28 kB / 1.094 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 1.403e-06/0.6414, allocations: 1.125 kB / 1.094 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.0007363/0.6422, allocations: 295.8 kB / 1.095 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.6422, allocations: 58.88 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.6424, allocations: 212.7 kB / 1.095 GB, free: 360 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.6424, allocations: 30.39 kB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.6425, allocations: 183.6 kB / 1.095 GB, free: 160 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.6425, allocations: 75.59 kB / 1.095 GB, free: 100 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.602e-05/0.6426, allocations: 75.23 kB / 1.095 GB, free: 52 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.6427, allocations: 330 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.643, allocations: 78.72 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.6433, allocations: 138.6 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.6437, allocations: 212.3 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6437, allocations: 1.656 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005755/0.6443, allocations: 267.2 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.6443, allocations: 11.17 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6443, allocations: 2.219 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.6444, allocations: 6.562 kB / 1.096 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.6446, allocations: 56.48 kB / 1.096 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.6447, allocations: 7.688 kB / 1.096 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.6448, allocations: 37.23 kB / 1.096 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.6448, allocations: 9.859 kB / 1.096 GB, free: 15.33 MB / 0.8731 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.0001401/0.645, allocations: 156.2 kB / 1.097 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/0.645, allocations: 24.73 kB / 1.097 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005733/0.6456, allocations: 247 kB / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.6456, allocations: 3.406 kB / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.6456, allocations: 0 / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.6456, allocations: 1.219 kB / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.646, allocations: 344.4 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6461, allocations: 0.7031 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.6463, allocations: 44.66 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.6463, allocations: 6.062 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.6463, allocations: 1.578 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.6463, allocations: 1.656 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6463, allocations: 5.094 kB / 1.097 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005202/0.6468, allocations: 337.2 kB / 1.098 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.6469, allocations: 99.09 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.6469, allocations: 10.19 kB / 1.098 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.6471, allocations: 12.19 kB / 1.098 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.6472, allocations: 27.81 kB / 1.098 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.6472, allocations: 9.781 kB / 1.098 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001085/0.6473, allocations: 136.2 kB / 1.098 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6473, allocations: 0.8438 kB / 1.098 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003113/0.6476, allocations: 61.91 kB / 1.098 GB, free: 14.32 MB / 0.8731 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.0007677/0.6484, allocations: 0.8727 MB / 1.099 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005157/0.6489, allocations: 216 kB / 1.099 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6489, allocations: 4 kB / 1.099 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.6492, allocations: 111.5 kB / 1.099 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.6495, allocations: 30.61 kB / 1.099 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.6525, allocations: 2.386 MB / 1.101 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.6528, allocations: 0.7671 MB / 1.102 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.653, allocations: 37.47 kB / 1.102 GB, free: 11 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.6531, allocations: 96.28 kB / 1.102 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.6531, allocations: 5.188 kB / 1.102 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.6716, allocations: 4.024 MB / 1.106 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/8.136, allocations: 8.172 kB / 1.106 GB, free: 10.43 MB / 0.8731 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