Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_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_9_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.007504/0.007504, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.00186/0.001861, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.19/2.19, allocations: 390.3 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.89 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6484/0.6496, allocations: 140.4 MB / 1.087 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001863/0.6515, allocations: 1.016 MB / 1.088 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008588/0.6524, allocations: 0.9642 MB / 1.089 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.355e-05/0.6525, allocations: 6.031 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.313e-05/0.6525, allocations: 15.81 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.133e-05/0.6526, allocations: 18.77 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.6528, allocations: 65.58 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.653, allocations: 161.1 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.6531, allocations: 82.73 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.6533, allocations: 68.94 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.038e-05/0.6534, allocations: 71.42 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.6534, allocations: 15.28 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.937e-05/0.6534, allocations: 20.44 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.333e-05/0.6535, allocations: 38.12 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.6535, allocations: 72.22 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.6538, allocations: 200.2 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.6538, allocations: 0 / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6538, allocations: 0 / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.6538, allocations: 0 / 1.09 GB, free: 3.477 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.0005377/0.6543, allocations: 449.1 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.6544, allocations: 10.12 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/0.6544, allocations: 49.98 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.6545, allocations: 16.5 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.6548, allocations: 255.2 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.6549, allocations: 15.22 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.6549, allocations: 13.62 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.6552, allocations: 141.9 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.6552, allocations: 7.984 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.6553, allocations: 5.938 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.6553, allocations: 3.312 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000339/0.6556, allocations: 115 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/0.6562, allocations: 465.4 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.6564, allocations: 104.2 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.6566, allocations: 54.27 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.6566, allocations: 1.469 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.6566, allocations: 31.88 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.6567, allocations: 7.875 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005487/0.6572, allocations: 170.4 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.6572, allocations: 52.97 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.6573, allocations: 157.4 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.6574, allocations: 26.27 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.6574, allocations: 123.8 kB / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.6575, allocations: 30.81 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.6575, allocations: 42.19 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.146e-05/0.6576, allocations: 325.5 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.6577, allocations: 43.2 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.6579, allocations: 68.58 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.6582, allocations: 107.9 kB / 1.093 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.6582, allocations: 0 / 1.093 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000367/0.6586, allocations: 155.5 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.6586, allocations: 5.281 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6586, allocations: 2.203 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.6586, allocations: 1.688 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.6588, allocations: 24.25 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.6588, allocations: 5.891 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.6589, allocations: 17.73 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.6589, allocations: 8.562 kB / 1.093 GB, free: 1.18 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.331e-05/0.659, allocations: 127.5 kB / 1.093 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.6591, allocations: 12.66 kB / 1.093 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.6591, allocations: 16.62 kB / 1.093 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.6591, allocations: 2.031 kB / 1.093 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.6591, allocations: 0.7812 kB / 1.093 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6591, allocations: 4.453 kB / 1.093 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.6593, allocations: 228.2 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6593, allocations: 0.5625 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.6595, allocations: 31.75 kB / 1.094 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.6595, allocations: 0.75 kB / 1.094 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.6595, allocations: 1.453 kB / 1.094 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.6595, allocations: 1.297 kB / 1.094 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6595, allocations: 0.7188 kB / 1.094 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.6599, allocations: 233.2 kB / 1.094 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.346e-05/0.6599, allocations: 95.78 kB / 1.094 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.6599, allocations: 1.734 kB / 1.094 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.6601, allocations: 12.55 kB / 1.094 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.6601, allocations: 15.78 kB / 1.094 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.6601, allocations: 7.031 kB / 1.094 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.366e-05/0.6602, allocations: 109.5 kB / 1.094 GB, free: 440 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6602, allocations: 0 / 1.094 GB, free: 440 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002613/0.6605, allocations: 25.69 kB / 1.094 GB, free: 432 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.0006366/0.6611, allocations: 0.7713 MB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003952/0.6615, allocations: 112.8 kB / 1.095 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6615, allocations: 1.188 kB / 1.095 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.6617, allocations: 59.12 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.0003127/0.662, allocations: 20.45 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.002077/0.6641, allocations: 1.717 MB / 1.097 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.6644, allocations: 0.7104 MB / 1.097 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.621e-05/0.6645, allocations: 16.73 kB / 1.097 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.763e-05/0.6646, allocations: 44.47 kB / 1.097 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.6646, allocations: 0 / 1.097 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.6824, allocations: 2.716 MB / 1.1 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.237/7.919, allocations: 15.3 kB / 1.1 GB, free: 13.11 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches