Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_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.005248/0.005248, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001302/0.001302, allocations: 196.6 kB / 16.68 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.293/1.293, 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.181/2.181, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 64.14 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6983/0.6996, allocations: 140.4 MB / 1.088 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001993/0.7017, allocations: 1.015 MB / 1.088 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009803/0.7027, allocations: 0.9706 MB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.945e-05/0.7027, allocations: 2.062 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.685e-05/0.7028, allocations: 14.81 kB / 1.089 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.7029, allocations: 29.03 kB / 1.089 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.7031, allocations: 62.31 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.7033, allocations: 159.8 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.7035, allocations: 94.17 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.7036, allocations: 70.95 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.7038, allocations: 75.12 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.7038, allocations: 16.53 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.558e-05/0.7038, allocations: 16.25 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.7039, allocations: 34.88 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.209e-05/0.7039, allocations: 72.17 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.7042, allocations: 216.2 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7042, allocations: 0 / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7042, allocations: 5.031 kB / 1.09 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.7042, allocations: 0 / 1.09 GB, free: 3.43 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005652/0.7048, allocations: 448.4 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.7048, allocations: 10.8 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.7049, allocations: 46.67 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.7049, allocations: 20.77 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.7053, allocations: 256.5 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.7054, allocations: 9.969 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.7054, allocations: 13.62 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.7057, allocations: 147.3 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.7057, allocations: 1.031 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.7058, allocations: 9.031 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.7058, allocations: 7.828 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/0.7061, allocations: 116.5 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.7067, allocations: 471.8 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.707, allocations: 104.3 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.7072, allocations: 54.67 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.7072, allocations: 2.312 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.7072, allocations: 36.52 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 2.054e-06/0.7072, allocations: 7.922 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005721/0.7078, allocations: 165.5 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.7078, allocations: 60.34 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.708, allocations: 154.7 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.708, allocations: 26.39 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.708, allocations: 124.1 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.7081, allocations: 35.16 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.7081, allocations: 39.03 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.641e-05/0.7082, allocations: 324.8 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.7084, allocations: 43.52 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.7085, allocations: 68.25 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.7088, allocations: 111.9 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.7088, allocations: 0 / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003706/0.7092, allocations: 143.6 kB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.7092, allocations: 6.484 kB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.7092, allocations: 0.5625 kB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.7093, allocations: 5.562 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.7094, allocations: 28.28 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.7095, allocations: 2.766 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.7096, allocations: 25.48 kB / 1.093 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.7096, allocations: 5.078 kB / 1.093 GB, free: 1.125 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.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.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.213e-05/0.7097, allocations: 124.1 kB / 1.093 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.7097, allocations: 9.875 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/0.7098, allocations: 20.66 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.7098, allocations: 1.469 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.7098, allocations: 3.938 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.7098, allocations: 5.484 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.71, allocations: 232.1 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.71, allocations: 1.547 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.7102, allocations: 19.19 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.7102, allocations: 1.188 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.7102, allocations: 5.609 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.7102, allocations: 4.969 kB / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7102, allocations: 4 kB / 1.094 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.7106, allocations: 225.7 kB / 1.094 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.7106, allocations: 92.95 kB / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.7106, allocations: 8.812 kB / 1.094 GB, free: 476 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.7108, allocations: 8.953 kB / 1.094 GB, free: 476 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.7108, allocations: 19.45 kB / 1.094 GB, free: 468 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.7109, allocations: 7.203 kB / 1.094 GB, free: 464 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.909e-05/0.7109, allocations: 114.6 kB / 1.094 GB, free: 372 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7109, allocations: 0 / 1.094 GB, free: 372 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002541/0.7112, allocations: 22.16 kB / 1.094 GB, free: 368 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.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.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.0006089/0.7118, allocations: 0.7678 MB / 1.095 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004004/0.7122, allocations: 109.3 kB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7122, allocations: 0 / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.7124, allocations: 63.66 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.0003724/0.7128, allocations: 14.55 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.002351/0.7152, allocations: 1.72 MB / 1.097 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.7154, allocations: 0.7155 MB / 1.097 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.905e-05/0.7155, allocations: 15.59 kB / 1.097 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.009e-05/0.7156, allocations: 44.59 kB / 1.098 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.7156, allocations: 0 / 1.098 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.7339, allocations: 2.903 MB / 1.1 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.036/7.77, allocations: 4.219 kB / 1.1 GB, free: 13.01 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches