Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006041/0.006041, allocations: 101 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.001614/0.001614, allocations: 197.7 kB / 16.68 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.383/1.383, 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 11.1.0-maint.11.x/package.mo): time 2.699/2.699, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 64.11 kB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6643/0.6662, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002213/0.6685, allocations: 1.01 MB / 1.221 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.6697, allocations: 0.9801 MB / 1.222 GB, free: 40 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.969e-05/0.6698, allocations: 0 / 1.222 GB, free: 40 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.922e-05/0.6698, allocations: 19.73 kB / 1.222 GB, free: 20 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.6699, allocations: 15.81 kB / 1.222 GB, free: 4 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.6701, allocations: 63.95 kB / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.6703, allocations: 171.9 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.6705, allocations: 92.17 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.6707, allocations: 67.7 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.6708, allocations: 71.69 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.6708, allocations: 16 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.613e-05/0.6709, allocations: 16 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.554e-05/0.6709, allocations: 47.84 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.456e-05/0.671, allocations: 75.58 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.6713, allocations: 214.7 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.6713, allocations: 0 / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6713, allocations: 0 / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.6713, allocations: 0 / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0006645/0.672, allocations: 454.7 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.672, allocations: 8.625 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.805e-05/0.6721, allocations: 54.67 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.6721, allocations: 28.8 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/0.6726, allocations: 254.4 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.6726, allocations: 12.36 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.6726, allocations: 16.38 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.673, allocations: 147.5 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.673, allocations: 3.938 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.673, allocations: 8 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.673, allocations: 4 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003577/0.6734, allocations: 119.9 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006662/0.6741, allocations: 480.2 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.6744, allocations: 118.7 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.6746, allocations: 48.83 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.6746, allocations: 0 / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.6746, allocations: 38.56 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.6746, allocations: 0 / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0005811/0.6752, allocations: 177.4 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.6753, allocations: 59.34 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.6754, allocations: 152.4 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.6754, allocations: 29.7 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.71e-05/0.6755, allocations: 120.4 kB / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.6756, allocations: 35.69 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.6756, allocations: 41.7 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6758, allocations: 326.8 kB / 1.226 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.6759, allocations: 39.97 kB / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.6761, allocations: 82.14 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.6765, allocations: 107.3 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.6765, allocations: 3.984 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003878/0.6769, allocations: 157.4 kB / 1.226 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.6769, allocations: 4 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.6769, allocations: 0 / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.6769, allocations: 4 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.6771, allocations: 23.98 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.6771, allocations: 0 / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.6772, allocations: 23.94 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.6772, allocations: 4 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.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 (15): * Single equations (assignments): 15 * 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.0001161/0.6773, allocations: 133.8 kB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.6774, allocations: 19.88 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.6774, allocations: 20.66 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.6774, allocations: 0 / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.6775, allocations: 0 / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.6775, allocations: 0 / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.6777, allocations: 245.5 kB / 1.226 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6777, allocations: 0 / 1.226 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.6779, allocations: 19.98 kB / 1.226 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.6779, allocations: 11.92 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.6779, allocations: 0 / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.6779, allocations: 0 / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6779, allocations: 3.938 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.6783, allocations: 231.9 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.6784, allocations: 89.06 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.6784, allocations: 4 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.6785, allocations: 11.98 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.6786, allocations: 11.98 kB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.6786, allocations: 7.984 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.856e-05/0.6787, allocations: 112.9 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6787, allocations: 0 / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002617/0.679, allocations: 31.89 kB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0007371/0.6797, allocations: 0.781 MB / 1.228 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003823/0.6801, allocations: 119.9 kB / 1.228 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6801, allocations: 0 / 1.228 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.6803, allocations: 59.91 kB / 1.228 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.6806, allocations: 14.38 kB / 1.228 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.6829, allocations: 1.745 MB / 1.23 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.6832, allocations: 0.7162 MB / 1.23 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.396e-05/0.6833, allocations: 17.08 kB / 1.23 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.6834, allocations: 51.41 kB / 1.23 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of SimCode: time 3.2e-07/0.6834, allocations: 0 / 1.23 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.7069, allocations: 2.769 MB / 1.233 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/8.479, allocations: 8.266 kB / 1.233 GB, free: 4.551 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches