Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_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.007566/0.007566, allocations: 102.9 kB / 15.74 MB, free: 5.551 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.001841/0.001841, allocations: 195.9 kB / 16.67 MB, free: 5.48 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.559/2.559, allocations: 469.4 MB / 0.7422 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.91 kB / 1.064 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6426/0.6439, allocations: 159.1 MB / 1.22 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002153/0.6461, allocations: 1.003 MB / 1.221 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.6472, allocations: 0.98 MB / 1.222 GB, free: 240 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.879e-05/0.6473, allocations: 4 kB / 1.222 GB, free: 236 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.196e-05/0.6474, allocations: 15.75 kB / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.6475, allocations: 27.78 kB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.6477, allocations: 59.88 kB / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.6479, allocations: 160.1 kB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.6481, allocations: 98.58 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.6482, allocations: 71.64 kB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.964e-05/0.6483, allocations: 75.67 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.6484, allocations: 16 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.237e-05/0.6484, allocations: 16 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.6484, allocations: 35.86 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.797e-05/0.6485, allocations: 75.59 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.6488, allocations: 214.8 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6488, allocations: 0 / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6488, allocations: 4 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.6488, allocations: 0 / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0006267/0.6494, allocations: 458.6 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.6495, allocations: 8.625 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.6495, allocations: 46.73 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.017e-05/0.6496, allocations: 20.8 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.65, allocations: 264 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.65, allocations: 8.375 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.6501, allocations: 12.38 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.6504, allocations: 151.2 kB / 1.223 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.6504, allocations: 7.938 kB / 1.223 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.6505, allocations: 4 kB / 1.223 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.6505, allocations: 4 kB / 1.223 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.6508, allocations: 123.8 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006292/0.6515, allocations: 476.3 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.6518, allocations: 122.6 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.6519, allocations: 56.83 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.652, allocations: 3.938 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.652, allocations: 34.56 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.652, allocations: 0 / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0005509/0.6526, allocations: 177.4 kB / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.6526, allocations: 55.41 kB / 1.224 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.6527, allocations: 157.2 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.6528, allocations: 29.7 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.22e-05/0.6528, allocations: 128.3 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.6529, allocations: 35.69 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.6529, allocations: 37.7 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.653, allocations: 326.8 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.6532, allocations: 47.95 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.6534, allocations: 74.02 kB / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.6537, allocations: 119.7 kB / 1.225 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6537, allocations: 0 / 1.225 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003765/0.6541, allocations: 153.5 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.6541, allocations: 7.938 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.6541, allocations: 0 / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.6541, allocations: 8.094 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.6543, allocations: 23.97 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.6543, allocations: 4 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.6544, allocations: 19.94 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.6544, allocations: 4 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.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 (15): * Single equations (assignments): 15 * 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.0001064/0.6546, allocations: 130.2 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.6546, allocations: 11.91 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.6546, allocations: 24.66 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.6547, allocations: 0 / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6547, allocations: 3.984 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.6547, allocations: 0 / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.6549, allocations: 245.5 kB / 1.226 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6549, allocations: 0 / 1.226 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.6551, allocations: 15.98 kB / 1.226 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.6551, allocations: 0 / 1.226 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.6551, allocations: 4 kB / 1.226 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6551, allocations: 0 / 1.226 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6551, allocations: 4 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.6555, allocations: 239.2 kB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.6555, allocations: 89.05 kB / 1.226 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.6556, allocations: 4 kB / 1.226 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.6557, allocations: 8 kB / 1.226 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.6558, allocations: 19.97 kB / 1.226 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.6558, allocations: 4 kB / 1.226 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.436e-05/0.6559, allocations: 117.4 kB / 1.226 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6559, allocations: 0 / 1.226 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002587/0.6561, allocations: 31.89 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0006524/0.6568, allocations: 0.7739 MB / 1.227 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003658/0.6572, allocations: 115.9 kB / 1.227 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6572, allocations: 0 / 1.227 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.6573, allocations: 64.08 kB / 1.227 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.6577, allocations: 16.7 kB / 1.227 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.6598, allocations: 1.745 MB / 1.229 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.66, allocations: 0.72 MB / 1.23 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.545e-05/0.6601, allocations: 21.06 kB / 1.23 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.663e-05/0.6602, allocations: 47.42 kB / 1.23 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.6602, allocations: 0 / 1.23 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.6781, allocations: 2.761 MB / 1.233 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.195/7.873, allocations: 15.27 kB / 1.233 GB, free: 4.727 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches