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.004387/0.004387, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001073/0.001073, allocations: 196.5 kB / 16.68 MB, free: 5.965 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.302/1.302, 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.151/2.151, allocations: 390.3 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.91 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6567/0.658, allocations: 140.4 MB / 1.088 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001861/0.6599, allocations: 1.013 MB / 1.088 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008578/0.6607, allocations: 0.9709 MB / 1.089 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.672e-05/0.6608, allocations: 2.906 kB / 1.089 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.342e-05/0.6609, allocations: 15.33 kB / 1.089 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.665e-05/0.661, allocations: 19.98 kB / 1.089 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.6612, allocations: 63.67 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.6613, allocations: 161.4 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.6615, allocations: 86.12 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.6616, allocations: 69.56 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.037e-05/0.6617, allocations: 80.97 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.6618, allocations: 16.34 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.492e-05/0.6618, allocations: 16.28 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.233e-05/0.6618, allocations: 38.44 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.6619, allocations: 72.05 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.6621, allocations: 207.3 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.6621, allocations: 0 / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6621, allocations: 4 kB / 1.09 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.6622, allocations: 1.125 kB / 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.0005409/0.6627, allocations: 445.1 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.6627, allocations: 9.484 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.821e-05/0.6628, allocations: 51.28 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.6628, allocations: 16.34 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.6632, allocations: 259.9 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.6632, allocations: 11.06 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.6633, allocations: 17.97 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.6636, allocations: 147.9 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.6636, allocations: 0.7969 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.6636, allocations: 9.094 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.6636, allocations: 7.312 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.664, allocations: 116 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005636/0.6646, allocations: 472.3 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.6649, allocations: 100.3 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.665, allocations: 58.48 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.6651, allocations: 4.875 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.6651, allocations: 32.61 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.6651, allocations: 0 / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005403/0.6656, allocations: 169.5 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/0.6657, allocations: 57.64 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.6658, allocations: 157.2 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.6658, allocations: 25.7 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.6658, allocations: 120.4 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.6659, allocations: 26.64 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.6659, allocations: 43.33 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.664e-05/0.666, allocations: 324.4 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.6661, allocations: 43.64 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.6663, allocations: 76.47 kB / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.6666, allocations: 111.2 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.6666, allocations: 0 / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003595/0.6669, allocations: 143.9 kB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.667, allocations: 5.75 kB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.667, allocations: 0.75 kB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.667, allocations: 6.219 kB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.6672, allocations: 24.7 kB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.6672, allocations: 9.922 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.6673, allocations: 21.53 kB / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.6673, allocations: 8.312 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 7.37e-05/0.6674, allocations: 125.8 kB / 1.093 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.6674, allocations: 8.938 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.6675, allocations: 20.48 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.6675, allocations: 1.438 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.6675, allocations: 0.7188 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.6675, allocations: 5.859 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.6677, allocations: 232.2 kB / 1.094 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6677, allocations: 0 / 1.094 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.6678, allocations: 28.27 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.6678, allocations: 0.8438 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.6679, allocations: 5.594 kB / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.6679, allocations: 1.609 kB / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6679, allocations: 7.938 kB / 1.094 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.6682, allocations: 228.4 kB / 1.094 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/0.6683, allocations: 88.64 kB / 1.094 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.6683, allocations: 1.891 kB / 1.094 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.6684, allocations: 12.16 kB / 1.094 GB, free: 476 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/0.6685, allocations: 20.52 kB / 1.094 GB, free: 468 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.6685, allocations: 6.953 kB / 1.094 GB, free: 464 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.498e-05/0.6686, allocations: 112.2 kB / 1.094 GB, free: 376 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6686, allocations: 0 / 1.094 GB, free: 376 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002615/0.6689, allocations: 30.91 kB / 1.094 GB, free: 364 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.0005856/0.6694, allocations: 0.7668 MB / 1.095 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003747/0.6698, allocations: 113.8 kB / 1.095 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6698, allocations: 0 / 1.095 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.67, allocations: 59.36 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.0003011/0.6703, allocations: 19.05 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.002107/0.6725, allocations: 1.71 MB / 1.097 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.6727, allocations: 0.7158 MB / 1.097 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.191e-05/0.6728, allocations: 15.39 kB / 1.097 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.851e-05/0.6729, allocations: 45.09 kB / 1.098 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.6729, allocations: 0 / 1.098 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/0.6901, allocations: 2.898 MB / 1.1 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.18/7.87, allocations: 7.625 kB / 1.1 GB, free: 13.02 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