Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_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.007201/0.007201, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001719/0.001719, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.322/1.322, 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 2.523/2.523, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 59.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2637, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002159/0.2659, allocations: 1.003 MB / 1.167 GB, free: 6.32 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.2671, allocations: 0.9752 MB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.2673, allocations: 4 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.499e-05/0.2673, allocations: 11.81 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.2675, allocations: 23.8 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.2677, allocations: 71.86 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.2679, allocations: 155.7 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.2681, allocations: 80.19 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.2683, allocations: 63.72 kB / 1.169 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.2684, allocations: 75.62 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.2684, allocations: 16 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.692e-05/0.2685, allocations: 20 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.828e-05/0.2685, allocations: 35.89 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.682e-05/0.2686, allocations: 67.61 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.2688, allocations: 211.3 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2688, allocations: 0 / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2689, allocations: 0 / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.2689, allocations: 0 / 1.169 GB, free: 4.512 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.000623/0.2695, allocations: 451 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.2695, allocations: 12.03 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.686e-05/0.2696, allocations: 46.73 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.2696, allocations: 20.83 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.2701, allocations: 256.3 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.2701, allocations: 12.66 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.2701, allocations: 12.38 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.2704, allocations: 148.3 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2705, allocations: 7.938 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.2705, allocations: 8 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2705, allocations: 0 / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.2708, allocations: 120.7 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000603/0.2715, allocations: 464.2 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.2717, allocations: 114.6 kB / 1.171 GB, free: 2.711 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.2719, allocations: 52.8 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.2719, allocations: 4 kB / 1.171 GB, free: 2.652 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.272, allocations: 34.5 kB / 1.171 GB, free: 2.609 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 2.695e-06/0.272, allocations: 4 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0005235/0.2725, allocations: 165.5 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.2725, allocations: 55.39 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.2727, allocations: 152.6 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.2727, allocations: 29.7 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.2728, allocations: 123.8 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.2728, allocations: 35.75 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/0.2729, allocations: 33.7 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.273, allocations: 326.8 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.2731, allocations: 47.95 kB / 1.172 GB, free: 1.602 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.2733, allocations: 63.41 kB / 1.172 GB, free: 1.527 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.2736, allocations: 111.3 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2736, allocations: 0 / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003482/0.274, allocations: 145.5 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.274, allocations: 9.875 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.274, allocations: 3.938 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.274, allocations: 0 / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.2742, allocations: 31.97 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2742, allocations: 0 / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.512e-05/0.2743, allocations: 15.89 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.2743, allocations: 16.08 kB / 1.172 GB, free: 1.184 MB / 0.92 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 0.000102/0.2744, allocations: 135.8 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.2745, allocations: 11.95 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.2745, allocations: 8.719 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.2745, allocations: 4 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.2745, allocations: 0 / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2746, allocations: 7.969 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.2748, allocations: 233.5 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2748, allocations: 0 / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.2749, allocations: 27.97 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2749, allocations: 3.938 kB / 1.172 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.275, allocations: 4 kB / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.275, allocations: 0 / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.275, allocations: 0 / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.2753, allocations: 231.2 kB / 1.173 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.2754, allocations: 92.95 kB / 1.173 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.2754, allocations: 8 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.2756, allocations: 7.984 kB / 1.173 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.2756, allocations: 11.98 kB / 1.173 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.2756, allocations: 8 kB / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.906e-05/0.2757, allocations: 113.4 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2757, allocations: 0 / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002586/0.276, allocations: 27.95 kB / 1.173 GB, free: 180 kB / 0.92 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.0006825/0.2767, allocations: 0.7715 MB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003581/0.277, allocations: 107.9 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2771, allocations: 0 / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.2772, allocations: 55.95 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.2776, allocations: 19.8 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.2796, allocations: 1.719 MB / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.2799, allocations: 0.7123 MB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.2e-05/0.28, allocations: 16.64 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.678e-05/0.2801, allocations: 47.42 kB / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of SimCode: time 5.82e-07/0.2801, allocations: 0 / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.2981, allocations: 2.721 MB / 1.179 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.433/7.731, allocations: 14.2 kB / 1.179 GB, free: 10.05 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches