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.00772/0.00772, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001927/0.001927, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.128/2.128, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 59.91 kB / 0.9504 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6482/0.6495, allocations: 140.4 MB / 1.088 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001838/0.6514, allocations: 1.007 MB / 1.088 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008223/0.6522, allocations: 0.9635 MB / 1.089 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.605e-05/0.6523, allocations: 6.594 kB / 1.089 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.158e-05/0.6523, allocations: 15.14 kB / 1.089 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.814e-05/0.6524, allocations: 27.33 kB / 1.089 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.6526, allocations: 65.39 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.6528, allocations: 154.2 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.6529, allocations: 93.67 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.6531, allocations: 65.2 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.792e-05/0.6531, allocations: 79.06 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.6532, allocations: 15.69 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.358e-05/0.6532, allocations: 16.62 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.259e-05/0.6532, allocations: 30.59 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.39e-05/0.6533, allocations: 74.95 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.6535, allocations: 210 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.6536, allocations: 0 / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6536, allocations: 0.9688 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.6536, allocations: 0 / 1.09 GB, free: 3.395 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.0005164/0.6541, allocations: 452.2 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.6541, allocations: 9.281 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.6542, allocations: 46.5 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.6542, allocations: 20.84 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.6546, allocations: 252 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.6546, allocations: 11.47 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.6546, allocations: 12.53 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.6549, allocations: 142.4 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.655, allocations: 0 / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.655, allocations: 9.094 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.655, allocations: 7.312 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003351/0.6553, allocations: 115.5 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005354/0.6559, allocations: 464.5 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.6562, allocations: 104.9 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.6563, allocations: 51.11 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.6564, allocations: 1.312 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.6564, allocations: 36.19 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.6564, allocations: 3.938 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005366/0.6569, allocations: 169.3 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.876e-05/0.6569, allocations: 53.22 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.657, allocations: 156.8 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.6571, allocations: 30.33 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.6571, allocations: 128.8 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.6571, allocations: 30.78 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.6572, allocations: 37.89 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.74e-05/0.6572, allocations: 329.3 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.6574, allocations: 39.27 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.6576, allocations: 68.34 kB / 1.093 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.6578, allocations: 111.6 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.6578, allocations: 0.9375 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003534/0.6582, allocations: 150.9 kB / 1.093 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.6582, allocations: 5.531 kB / 1.093 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.6582, allocations: 1.984 kB / 1.093 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.6582, allocations: 1.5 kB / 1.093 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.6584, allocations: 28.97 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.6584, allocations: 1.531 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.6585, allocations: 17.77 kB / 1.093 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.6586, allocations: 5.234 kB / 1.093 GB, free: 1.105 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.096e-05/0.6586, allocations: 128.8 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.6587, allocations: 20.8 kB / 1.093 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.6587, allocations: 13.39 kB / 1.093 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.6587, allocations: 1.625 kB / 1.093 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6587, allocations: 4 kB / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.6587, allocations: 5.484 kB / 1.093 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.6589, allocations: 231.3 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.6589, allocations: 0.5625 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.6591, allocations: 23.06 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.6591, allocations: 4.938 kB / 1.094 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.6591, allocations: 5.672 kB / 1.094 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6591, allocations: 1.266 kB / 1.094 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6591, allocations: 0.7188 kB / 1.094 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.6594, allocations: 229.3 kB / 1.094 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.6595, allocations: 85.31 kB / 1.094 GB, free: 464 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.6595, allocations: 9.531 kB / 1.094 GB, free: 456 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.6596, allocations: 8.219 kB / 1.094 GB, free: 456 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.6597, allocations: 15.88 kB / 1.094 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.6597, allocations: 11.89 kB / 1.094 GB, free: 444 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.248e-05/0.6598, allocations: 111.6 kB / 1.094 GB, free: 356 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.6598, allocations: 0.875 kB / 1.094 GB, free: 356 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000257/0.66, allocations: 28.98 kB / 1.094 GB, free: 344 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.0005878/0.6606, allocations: 0.7752 MB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003658/0.661, allocations: 109.5 kB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.661, allocations: 0.9375 kB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.6612, allocations: 58.94 kB / 1.095 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.6615, allocations: 15.53 kB / 1.095 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.6636, allocations: 1.718 MB / 1.097 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.6638, allocations: 0.7138 MB / 1.097 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.446e-05/0.6639, allocations: 18.19 kB / 1.097 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.627e-05/0.664, allocations: 47.73 kB / 1.097 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.664, allocations: 1.031 kB / 1.097 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.6826, allocations: 2.715 MB / 1.1 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.757, allocations: 5.672 kB / 1.1 GB, free: 13.02 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