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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007513/0.007513, allocations: 98.73 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.001466/0.001466, allocations: 196 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.364/2.364, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 71.88 kB / 0.9509 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247/1.249, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.00245/1.251, allocations: 1.001 MB / 1.089 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001283/1.252, allocations: 0.9595 MB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.512e-05/1.253, allocations: 6.188 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.477e-05/1.253, allocations: 18.19 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001235/1.253, allocations: 24.91 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/1.253, allocations: 64.44 kB / 1.09 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002055/1.253, allocations: 158.3 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/1.253, allocations: 89.81 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/1.254, allocations: 65.25 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/1.254, allocations: 79.22 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/1.254, allocations: 15.91 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.142e-05/1.254, allocations: 20.62 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.103e-05/1.254, allocations: 30.59 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.485e-05/1.254, allocations: 71.41 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003274/1.254, allocations: 206 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.254, allocations: 0 / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.845e-06/1.254, allocations: 1.953 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.823e-06/1.254, allocations: 0 / 1.091 GB, free: 3.68 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.0006678/1.255, allocations: 450.8 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/1.255, allocations: 15.02 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/1.255, allocations: 16 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/1.255, allocations: 251.4 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/1.256, allocations: 10.94 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/1.256, allocations: 13.31 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/1.256, allocations: 141.5 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/1.256, allocations: 0.875 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/1.256, allocations: 9.547 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/1.256, allocations: 7.531 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003675/1.256, allocations: 114.8 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006922/1.257, allocations: 468.9 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/1.257, allocations: 113.6 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/1.258, allocations: 50.25 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/1.258, allocations: 0.7812 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/1.258, allocations: 31.69 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.964e-06/1.258, allocations: 0.875 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005873/1.258, allocations: 174.1 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/1.258, allocations: 53.11 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/1.258, allocations: 156.8 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/1.258, allocations: 30.58 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.593e-05/1.259, allocations: 128.4 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/1.259, allocations: 29 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/1.259, allocations: 43.59 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.454e-05/1.259, allocations: 325.1 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/1.259, allocations: 39.11 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/1.259, allocations: 72.11 kB / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/1.259, allocations: 107.9 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.259, allocations: 1.031 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003774/1.26, allocations: 154.9 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/1.26, allocations: 5.906 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.26, allocations: 0.9375 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/1.26, allocations: 2.156 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/1.26, allocations: 28.94 kB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.26, allocations: 1.453 kB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/1.26, allocations: 14.47 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/1.26, allocations: 9.234 kB / 1.094 GB, free: 1.426 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 8.387e-05/1.26, allocations: 125.8 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/1.26, allocations: 13.83 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/1.26, allocations: 16.31 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/1.26, allocations: 5.922 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.26, allocations: 0 / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/1.26, allocations: 1.672 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/1.261, allocations: 235.2 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.261, allocations: 0.7188 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/1.261, allocations: 27.73 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.261, allocations: 0.5625 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/1.261, allocations: 2.375 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.261, allocations: 0.6875 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.261, allocations: 4.734 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/1.261, allocations: 233 kB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/1.261, allocations: 88.7 kB / 1.094 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/1.261, allocations: 1.219 kB / 1.094 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/1.261, allocations: 12.22 kB / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/1.261, allocations: 16.17 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/1.261, allocations: 2.875 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.897e-05/1.262, allocations: 117 kB / 1.094 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.262, allocations: 0.625 kB / 1.094 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002532/1.262, allocations: 29.3 kB / 1.095 GB, free: 0.6602 MB / 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.0001354/1.262, allocations: 111.7 kB / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004009/1.262, allocations: 112.6 kB / 1.095 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.262, allocations: 0.9062 kB / 1.095 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001747/1.263, allocations: 59.39 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/1.263, allocations: 14.67 kB / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005541/1.263, allocations: 260.7 kB / 1.095 GB, free: 328 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/1.264, allocations: 0.7107 MB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.606e-05/1.264, allocations: 16.56 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.965e-05/1.264, allocations: 21.73 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/1.264, allocations: 0 / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of Templates: time 0.004511/1.268, allocations: 1.229 MB / 1.097 GB, free: 15.51 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/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