Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_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_9_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.006113/0.006113, allocations: 101.5 kB / 15.73 MB, free: 6.008 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.001456/0.001455, allocations: 194.1 kB / 16.67 MB, free: 5.93 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.294/1.294, 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 9.1.3-maint.9.1.x/package.mo): time 2.149/2.149, allocations: 390.3 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6407/0.6419, allocations: 140.4 MB / 1.088 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001959/0.6439, allocations: 1 MB / 1.088 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008821/0.6448, allocations: 0.9585 MB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.517e-05/0.6449, allocations: 11.06 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.406e-05/0.6449, allocations: 14.53 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.377e-05/0.645, allocations: 23.22 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.6452, allocations: 60.92 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.6454, allocations: 157.5 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.6456, allocations: 85.39 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.6457, allocations: 74.16 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.6458, allocations: 69.77 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.6459, allocations: 20.62 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.365e-05/0.6459, allocations: 19.91 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.608e-05/0.6459, allocations: 34.75 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.587e-05/0.646, allocations: 71.22 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.6463, allocations: 201 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6463, allocations: 3.938 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6463, allocations: 1.125 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.6463, allocations: 0 / 1.09 GB, free: 3.469 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.0006084/0.6469, allocations: 448.5 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.647, allocations: 10 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.966e-05/0.647, allocations: 49.23 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.6471, allocations: 18.3 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.6475, allocations: 255 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.6475, allocations: 14.47 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.6476, allocations: 13.72 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.6479, allocations: 145.4 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.6479, allocations: 4 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.6479, allocations: 5.469 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.648, allocations: 4.891 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/0.6483, allocations: 110.1 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000648/0.649, allocations: 469.2 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.6493, allocations: 104.4 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.6494, allocations: 50.03 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.6495, allocations: 1.375 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.6495, allocations: 36.58 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.6495, allocations: 3.938 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005598/0.6501, allocations: 170.2 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.6501, allocations: 52.84 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.6502, allocations: 152.5 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.6502, allocations: 30.83 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.6503, allocations: 123.6 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.6503, allocations: 34.77 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/0.6504, allocations: 38.39 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.203e-05/0.6504, allocations: 325 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.6506, allocations: 42.98 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.6507, allocations: 73.95 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.651, allocations: 102.7 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.651, allocations: 1 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003697/0.6514, allocations: 158.5 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.6514, allocations: 6.109 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6515, allocations: 1.25 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.6515, allocations: 2.375 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.6517, allocations: 27.77 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.996e-06/0.6517, allocations: 2.656 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.6518, allocations: 17.78 kB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.6518, allocations: 8.031 kB / 1.093 GB, free: 1.172 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 8.542e-05/0.6519, allocations: 133 kB / 1.093 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.6519, allocations: 13.75 kB / 1.093 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.652, allocations: 16.59 kB / 1.093 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.652, allocations: 1.688 kB / 1.093 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.652, allocations: 0 / 1.093 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.652, allocations: 5.359 kB / 1.093 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.6522, allocations: 227.6 kB / 1.094 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.6523, allocations: 1.641 kB / 1.094 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.6524, allocations: 23.42 kB / 1.094 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.6524, allocations: 0.7188 kB / 1.094 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.6524, allocations: 1.547 kB / 1.094 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.6524, allocations: 4.688 kB / 1.094 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6524, allocations: 0.6562 kB / 1.094 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003625/0.6528, allocations: 232.3 kB / 1.094 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.6528, allocations: 96.88 kB / 1.094 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.6529, allocations: 1.562 kB / 1.094 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.653, allocations: 8.219 kB / 1.094 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.6531, allocations: 20.33 kB / 1.094 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.6531, allocations: 7.266 kB / 1.094 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.45e-05/0.6531, allocations: 109.2 kB / 1.094 GB, free: 432 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6531, allocations: 0 / 1.094 GB, free: 432 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002574/0.6534, allocations: 21.41 kB / 1.094 GB, free: 428 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.0005911/0.654, allocations: 0.7715 MB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003728/0.6544, allocations: 108.8 kB / 1.095 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6544, allocations: 1.156 kB / 1.095 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.6546, allocations: 59.27 kB / 1.095 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.6549, allocations: 19.78 kB / 1.095 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.6571, allocations: 1.715 MB / 1.097 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.6573, allocations: 0.711 MB / 1.097 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.747e-05/0.6574, allocations: 16.98 kB / 1.097 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.039e-05/0.6575, allocations: 48.78 kB / 1.097 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/0.6575, allocations: 0 / 1.097 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.6744, allocations: 2.73 MB / 1.1 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.368/8.043, allocations: 5.719 kB / 1.1 GB, free: 13.1 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches