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.009591/0.009591, allocations: 99.95 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.002462/0.002462, allocations: 189.5 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 2.873/2.873, allocations: 222.9 MB / 240.4 MB, free: 15.16 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 4.975/4.975, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003006/0.003006, allocations: 59.91 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338/1.341, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.003659/1.344, allocations: 1.005 MB / 1.167 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002256/1.347, allocations: 0.9752 MB / 1.168 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/1.347, allocations: 4 kB / 1.168 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 8.136e-05/1.347, allocations: 19.8 kB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001729/1.347, allocations: 15.8 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/1.348, allocations: 59.88 kB / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002979/1.348, allocations: 155.6 kB / 1.168 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000341/1.348, allocations: 92.17 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/1.349, allocations: 71.72 kB / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/1.349, allocations: 71.67 kB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.576e-05/1.349, allocations: 16 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.563e-05/1.349, allocations: 16 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.892e-05/1.349, allocations: 35.86 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/1.349, allocations: 71.66 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004329/1.35, allocations: 206.7 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.35, allocations: 0 / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.873e-06/1.35, allocations: 0 / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.504e-06/1.35, allocations: 0 / 1.169 GB, free: 0.9453 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.001096/1.351, allocations: 457.3 kB / 1.169 GB, free: 456 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/1.351, allocations: 8.031 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.856e-05/1.351, allocations: 50.73 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.126e-05/1.351, allocations: 16.84 kB / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007193/1.352, allocations: 252.3 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/1.352, allocations: 12.66 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/1.352, allocations: 20.31 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005886/1.352, allocations: 141 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.352, allocations: 7.875 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/1.353, allocations: 11.92 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/1.353, allocations: 4 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006234/1.353, allocations: 108.8 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/1.354, allocations: 480.1 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/1.355, allocations: 98.69 kB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/1.355, allocations: 48.83 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/1.355, allocations: 4 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/1.355, allocations: 38.55 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 2.675e-06/1.355, allocations: 0 / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.001006/1.356, allocations: 165.4 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/1.356, allocations: 55.41 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/1.357, allocations: 161.2 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/1.357, allocations: 25.7 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/1.357, allocations: 123.9 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.634e-05/1.357, allocations: 35.72 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/1.357, allocations: 37.7 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002116/1.357, allocations: 326.8 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/1.358, allocations: 35.97 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/1.358, allocations: 75.39 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/1.358, allocations: 111.7 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.359, allocations: 0 / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006784/1.359, allocations: 153.4 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/1.359, allocations: 4 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/1.359, allocations: 4 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/1.359, allocations: 0 / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/1.36, allocations: 32.08 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/1.36, allocations: 0 / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/1.36, allocations: 15.94 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/1.36, allocations: 8 kB / 1.172 GB, free: 13.62 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 0.0002093/1.36, allocations: 133.7 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/1.36, allocations: 7.953 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.899e-05/1.36, allocations: 16.72 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/1.36, allocations: 0 / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/1.36, allocations: 4 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.36, allocations: 3.938 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/1.361, allocations: 237.4 kB / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/1.361, allocations: 0 / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/1.361, allocations: 19.98 kB / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/1.361, allocations: 0 / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/1.361, allocations: 0 / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/1.361, allocations: 7.922 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.361, allocations: 4 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005913/1.362, allocations: 231.3 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.889e-05/1.362, allocations: 89.02 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/1.362, allocations: 0 / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/1.362, allocations: 15.97 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/1.362, allocations: 15.98 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/1.362, allocations: 7.938 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001237/1.362, allocations: 115.9 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.362, allocations: 0 / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004477/1.363, allocations: 27.89 kB / 1.173 GB, free: 12.61 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.001055/1.364, allocations: 0.7631 MB / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005575/1.364, allocations: 111.8 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.364, allocations: 0 / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000306/1.365, allocations: 51.97 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005842/1.365, allocations: 27.97 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00404/1.369, allocations: 1.722 MB / 1.175 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005515/1.37, allocations: 0.7123 MB / 1.176 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001738/1.37, allocations: 16.64 kB / 1.176 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/1.37, allocations: 47.42 kB / 1.176 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of SimCode: time 1.473e-06/1.37, allocations: 0 / 1.176 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1266/1.497, allocations: 2.737 MB / 1.179 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.26/19.76, allocations: 6.422 kB / 1.179 GB, free: 6.477 MB / 0.9044 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