Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_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.007671/0.007671, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.00191/0.00191, allocations: 193.5 kB / 16.67 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.413/2.413, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 71.89 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6677/0.669, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002275/0.6713, allocations: 1.008 MB / 1.167 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.6729, allocations: 0.9791 MB / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.6731, allocations: 4 kB / 1.168 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 7.514e-05/0.6732, allocations: 15.8 kB / 1.168 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.6734, allocations: 27.73 kB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.6737, allocations: 55.88 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.674, allocations: 151.7 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.6742, allocations: 92.19 kB / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.6744, allocations: 75.66 kB / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.6746, allocations: 75.66 kB / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/0.6746, allocations: 16 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.564e-05/0.6747, allocations: 16 kB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.6747, allocations: 31.92 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.447e-05/0.6748, allocations: 71.59 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.6752, allocations: 210.7 kB / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.6752, allocations: 4 kB / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6752, allocations: 0 / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.6752, allocations: 0 / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0008047/0.676, allocations: 449.3 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.6761, allocations: 12.03 kB / 1.169 GB, free: 456 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.499e-05/0.6761, allocations: 46.73 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.6762, allocations: 16.84 kB / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000504/0.6767, allocations: 252.3 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.6767, allocations: 12.66 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.6768, allocations: 12.38 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.6771, allocations: 145 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.6771, allocations: 3.938 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.6772, allocations: 4 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.6772, allocations: 4 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.6775, allocations: 116.7 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006186/0.6781, allocations: 480.1 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.6784, allocations: 106.6 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.6786, allocations: 52.77 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.6786, allocations: 4 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.6786, allocations: 30.56 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.6786, allocations: 0 / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0005269/0.6792, allocations: 173.5 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.6792, allocations: 51.41 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.6794, allocations: 157.2 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.6794, allocations: 25.7 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.6794, allocations: 123.9 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.6795, allocations: 35.72 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/0.6795, allocations: 33.7 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.6796, allocations: 334.8 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.6798, allocations: 39.91 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.68, allocations: 72.02 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.6802, allocations: 107.3 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6803, allocations: 3.938 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003543/0.6806, allocations: 141.5 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.6806, allocations: 8.094 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.6806, allocations: 8 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.6807, allocations: 3.984 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.6808, allocations: 27.92 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.6808, allocations: 0 / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.777e-05/0.6809, allocations: 15.94 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.681, allocations: 4 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.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 (14): * Single equations (assignments): 14 * 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.926e-05/0.6811, allocations: 129.8 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.6811, allocations: 11.95 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.6812, allocations: 20.7 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.6812, allocations: 0 / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6812, allocations: 0 / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6812, allocations: 4 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.6814, allocations: 233.4 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.6814, allocations: 4 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.6815, allocations: 23.86 kB / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.6816, allocations: 0 / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.6816, allocations: 4 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.6816, allocations: 4 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6816, allocations: 0 / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003611/0.6819, allocations: 223.9 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.682, allocations: 89.02 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.682, allocations: 3.984 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.6822, allocations: 19.94 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.149e-05/0.6822, allocations: 15.97 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.6822, allocations: 4 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.689e-05/0.6823, allocations: 108 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6823, allocations: 0 / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002767/0.6826, allocations: 31.89 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0006439/0.6832, allocations: 0.7709 MB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003509/0.6836, allocations: 111.8 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6836, allocations: 192 / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.6838, allocations: 59.91 kB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.6841, allocations: 27.77 kB / 1.174 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.6863, allocations: 1.721 MB / 1.175 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.6866, allocations: 0.7123 MB / 1.176 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.607e-05/0.6867, allocations: 16.64 kB / 1.176 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.515e-05/0.6868, allocations: 47.42 kB / 1.176 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of SimCode: time 3.81e-07/0.6868, allocations: 0 / 1.176 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.7065, allocations: 2.726 MB / 1.179 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.413/8.12, allocations: 12.84 kB / 1.179 GB, free: 6.492 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches