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.001669/0.001669, allocations: 108 kB / 15.61 MB, free: 152 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.001955/0.001955, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.159/2.159, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 64.09 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5406/0.542, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002135/0.5441, allocations: 1.417 MB / 0.9512 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008823/0.545, allocations: 1.093 MB / 0.9522 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.79e-05/0.5451, allocations: 4.5 kB / 0.9522 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.86e-05/0.5452, allocations: 39.47 kB / 0.9523 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.5453, allocations: 37.94 kB / 0.9523 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.5455, allocations: 124.5 kB / 0.9524 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.5457, allocations: 336.4 kB / 0.9527 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.546, allocations: 204 kB / 0.9529 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.5461, allocations: 133.2 kB / 0.9531 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.5462, allocations: 157.5 kB / 0.9532 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.5463, allocations: 38.19 kB / 0.9533 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.836e-05/0.5463, allocations: 41.72 kB / 0.9533 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.984e-05/0.5464, allocations: 77.05 kB / 0.9534 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.647e-05/0.5465, allocations: 152.3 kB / 0.9535 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.5467, allocations: 458.9 kB / 0.954 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5467, allocations: 0 / 0.954 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5467, allocations: 0 / 0.954 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.5467, allocations: 0 / 0.954 GB, free: 5.891 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.0006079/0.5474, allocations: 0.5799 MB / 0.9545 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.5474, allocations: 16.66 kB / 0.9545 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.5475, allocations: 69.34 kB / 0.9546 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.5475, allocations: 33.75 kB / 0.9546 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.5479, allocations: 330.7 kB / 0.9549 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.548, allocations: 26.53 kB / 0.955 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.548, allocations: 37.75 kB / 0.955 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.5484, allocations: 292.8 kB / 0.9553 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.5485, allocations: 0 / 0.9553 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.5485, allocations: 12.59 kB / 0.9553 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.5485, allocations: 6.188 kB / 0.9553 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000438/0.5489, allocations: 228.1 kB / 0.9555 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008155/0.5498, allocations: 0.8176 MB / 0.9563 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003786/0.5502, allocations: 222.7 kB / 0.9565 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.5504, allocations: 113.8 kB / 0.9566 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.5504, allocations: 2.75 kB / 0.9566 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.179e-05/0.5504, allocations: 39.97 kB / 0.9567 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.253e-06/0.5504, allocations: 0 / 0.9567 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0006226/0.5511, allocations: 302.8 kB / 0.957 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.818e-05/0.5511, allocations: 58.34 kB / 0.957 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.5512, allocations: 211.5 kB / 0.9572 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.5512, allocations: 31.08 kB / 0.9573 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.5513, allocations: 175.3 kB / 0.9574 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.5513, allocations: 80.47 kB / 0.9575 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/0.5514, allocations: 62.72 kB / 0.9576 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.043e-05/0.5515, allocations: 332.3 kB / 0.9579 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.5516, allocations: 73.77 kB / 0.958 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.5518, allocations: 145.4 kB / 0.9581 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.5522, allocations: 208.4 kB / 0.9583 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5522, allocations: 1.094 kB / 0.9583 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004647/0.5527, allocations: 275.5 kB / 0.9586 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.5527, allocations: 10.09 kB / 0.9586 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.5527, allocations: 1.969 kB / 0.9586 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.5527, allocations: 6.938 kB / 0.9586 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.553, allocations: 52.25 kB / 0.9586 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.553, allocations: 2.312 kB / 0.9586 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.5531, allocations: 30.98 kB / 0.9587 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.5531, allocations: 11.5 kB / 0.9587 GB, free: 2.223 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.841e-05/0.5532, allocations: 155.2 kB / 0.9588 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.5533, allocations: 25.22 kB / 0.9588 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004698/0.5538, allocations: 252.9 kB / 0.9591 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.5538, allocations: 3.5 kB / 0.9591 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5538, allocations: 0 / 0.9591 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5538, allocations: 3.984 kB / 0.9591 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.5541, allocations: 347.8 kB / 0.9594 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5541, allocations: 0 / 0.9594 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.5542, allocations: 41.53 kB / 0.9595 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.5542, allocations: 5.5 kB / 0.9595 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.5543, allocations: 9.562 kB / 0.9595 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5543, allocations: 4.75 kB / 0.9595 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5543, allocations: 0.75 kB / 0.9595 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004243/0.5547, allocations: 324.7 kB / 0.9598 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.5547, allocations: 91.2 kB / 0.9599 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.5548, allocations: 10.16 kB / 0.9599 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.5549, allocations: 13.17 kB / 0.9599 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.555, allocations: 30.39 kB / 0.9599 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.555, allocations: 5.25 kB / 0.9599 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.822e-05/0.5551, allocations: 141 kB / 0.9601 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5551, allocations: 3.938 kB / 0.9601 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002778/0.5554, allocations: 57.5 kB / 0.9601 GB, free: 1.078 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.0006013/0.556, allocations: 0.8849 MB / 0.961 GB, free: 308 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004835/0.5565, allocations: 215.8 kB / 0.9612 GB, free: 216 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5565, allocations: 5.156 kB / 0.9612 GB, free: 212 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.5567, allocations: 115.9 kB / 0.9613 GB, free: 160 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.557, allocations: 24.41 kB / 0.9613 GB, free: 144 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.5596, allocations: 2.371 MB / 0.9636 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.5599, allocations: 0.7625 MB / 0.9644 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001461/0.5601, allocations: 38 kB / 0.9644 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.5602, allocations: 95.56 kB / 0.9645 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of SimCode: time 3e-07/0.5602, allocations: 3.938 kB / 0.9645 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.402/1.962, allocations: 3.974 MB / 0.9684 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/13.28, allocations: 14.69 kB / 0.9684 GB, free: 11.51 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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