Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_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_9_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.006743/0.006743, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001623/0.001623, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.297/1.297, 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 9.1.3-maint.9.1.x/package.mo): time 2.179/2.179, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.91 kB / 0.9504 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6471/0.6483, allocations: 140.4 MB / 1.088 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001823/0.6501, allocations: 1.006 MB / 1.088 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008164/0.651, allocations: 0.9631 MB / 1.089 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.651, allocations: 6.688 kB / 1.089 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.104e-05/0.6511, allocations: 14.44 kB / 1.089 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.6e-05/0.6512, allocations: 19.72 kB / 1.089 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.6514, allocations: 56.55 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000142/0.6515, allocations: 161.9 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.6517, allocations: 85 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.6518, allocations: 73.06 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.7e-05/0.6519, allocations: 71.34 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.6519, allocations: 16.47 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.547e-05/0.652, allocations: 16.12 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.278e-05/0.652, allocations: 38.97 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.704e-05/0.6521, allocations: 75.53 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.6523, allocations: 195.9 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6523, allocations: 0.6562 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6523, allocations: 4 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.6523, allocations: 0.75 kB / 1.09 GB, free: 3.422 MB / 0.8575 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.0005406/0.6529, allocations: 451.7 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.6529, allocations: 9.719 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.6529, allocations: 46.39 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.653, allocations: 17.06 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.6534, allocations: 260 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.6534, allocations: 10.09 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.6534, allocations: 13.62 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.6537, allocations: 142.3 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.6537, allocations: 0 / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.6538, allocations: 4.906 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.6538, allocations: 3.688 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.6541, allocations: 115.6 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005246/0.6546, allocations: 473.4 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.6549, allocations: 99.97 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.6551, allocations: 58 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.6551, allocations: 9.469 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.113e-05/0.6551, allocations: 32.22 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.203e-06/0.6551, allocations: 4.656 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005323/0.6557, allocations: 165 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.626e-05/0.6557, allocations: 57.34 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.6558, allocations: 157.4 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.6558, allocations: 26.31 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.6559, allocations: 123.3 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.6559, allocations: 31.25 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.656, allocations: 38.45 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.656, allocations: 325.4 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.6561, allocations: 42.64 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.6563, allocations: 70.17 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.6566, allocations: 107.6 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6566, allocations: 0.6562 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003547/0.657, allocations: 159.4 kB / 1.093 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.657, allocations: 4.812 kB / 1.093 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.657, allocations: 2.75 kB / 1.093 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.657, allocations: 6 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.6572, allocations: 23.33 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.6572, allocations: 2.266 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.928e-05/0.6573, allocations: 22.38 kB / 1.093 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.6573, allocations: 4.547 kB / 1.093 GB, free: 1.121 MB / 0.8575 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 7.311e-05/0.6574, allocations: 128.7 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.6574, allocations: 12.81 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.6575, allocations: 21.09 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.6575, allocations: 1.266 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.6575, allocations: 0.6875 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6575, allocations: 5.375 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.6577, allocations: 227.5 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6577, allocations: 0.6875 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.6578, allocations: 19.08 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.6579, allocations: 1.406 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.6579, allocations: 2.344 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.6579, allocations: 0.7812 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.6579, allocations: 4 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.6582, allocations: 233.1 kB / 1.094 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/0.6583, allocations: 92.31 kB / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.6583, allocations: 1.719 kB / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.6584, allocations: 12.08 kB / 1.094 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.6585, allocations: 19.8 kB / 1.094 GB, free: 472 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.6585, allocations: 14.92 kB / 1.094 GB, free: 460 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.292e-05/0.6586, allocations: 109.5 kB / 1.094 GB, free: 376 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6586, allocations: 0 / 1.094 GB, free: 376 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002582/0.6588, allocations: 22.12 kB / 1.094 GB, free: 372 kB / 0.8575 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.0005939/0.6594, allocations: 0.771 MB / 1.095 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003676/0.6598, allocations: 108.9 kB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6598, allocations: 0 / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.66, allocations: 60.3 kB / 1.095 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.6603, allocations: 20.8 kB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.6624, allocations: 1.714 MB / 1.097 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.6627, allocations: 0.7179 MB / 1.097 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.663e-05/0.6628, allocations: 17.58 kB / 1.097 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.844e-05/0.6629, allocations: 44.28 kB / 1.097 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.6629, allocations: 0.5 kB / 1.097 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.6808, allocations: 2.714 MB / 1.1 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.237/7.918, allocations: 3.875 kB / 1.1 GB, free: 13.05 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches