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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.00213/0.002131, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.494/1.494, allocations: 222.9 MB / 241 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.347/2.347, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001392, allocations: 63.91 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9793/0.9807, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002338/0.9831, allocations: 1.01 MB / 1.09 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.9843, allocations: 0.9575 MB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.9845, allocations: 2.906 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.434e-05/0.9845, allocations: 14.91 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.9846, allocations: 31.58 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.9849, allocations: 61.58 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.9851, allocations: 157.2 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.9853, allocations: 82.16 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.9855, allocations: 72.56 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.9856, allocations: 75.47 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/0.9857, allocations: 20.06 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.932e-05/0.9857, allocations: 15.94 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.938e-05/0.9857, allocations: 30.81 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.768e-05/0.9858, allocations: 71.41 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.9861, allocations: 210 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.9861, allocations: 0 / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.52e-07/0.9861, allocations: 0 / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.9861, allocations: 1.469 kB / 1.091 GB, free: 3.684 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.0006019/0.9867, allocations: 445.5 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.9868, allocations: 10.14 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.9868, allocations: 16.28 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.9873, allocations: 251.9 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.9873, allocations: 10.75 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.9873, allocations: 13 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.9877, allocations: 146.1 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.9877, allocations: 0 / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.9877, allocations: 5.438 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.9877, allocations: 3.5 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003689/0.9881, allocations: 115.2 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006969/0.9888, allocations: 472.6 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.9891, allocations: 101 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.9893, allocations: 50.64 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.9893, allocations: 1.062 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.9893, allocations: 43.97 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 2.104e-06/0.9893, allocations: 0.7188 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005437/0.9899, allocations: 173.7 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.9899, allocations: 52.66 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.9901, allocations: 153.2 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.9901, allocations: 26.89 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.9901, allocations: 132.4 kB / 1.094 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.9902, allocations: 29.06 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.9902, allocations: 42.67 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.934e-05/0.9903, allocations: 325.8 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.9905, allocations: 38.77 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.9906, allocations: 72.81 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.9909, allocations: 103.7 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.9909, allocations: 0.8125 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003837/0.9913, allocations: 159.2 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.9914, allocations: 8.078 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.9914, allocations: 1 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.9914, allocations: 1.812 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.9916, allocations: 24.08 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.9916, allocations: 2.219 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.796e-05/0.9917, allocations: 23.34 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.9917, allocations: 7.562 kB / 1.094 GB, free: 1.441 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 9.25e-05/0.9918, allocations: 129.2 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.9919, allocations: 12.62 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.002e-05/0.9919, allocations: 16.59 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.9919, allocations: 2.422 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.9919, allocations: 0 / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.992, allocations: 1.594 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.9922, allocations: 235.3 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.9922, allocations: 0.7969 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.9924, allocations: 19.81 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.9924, allocations: 0 / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.9924, allocations: 6.156 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.9924, allocations: 1.609 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.9924, allocations: 0 / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004229/0.9928, allocations: 236.7 kB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.9929, allocations: 93.25 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.9929, allocations: 5.484 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.9931, allocations: 8.594 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.9931, allocations: 16.22 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.9931, allocations: 2.062 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.528e-05/0.9932, allocations: 117.2 kB / 1.095 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9932, allocations: 4.625 kB / 1.095 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000265/0.9935, allocations: 17.47 kB / 1.095 GB, free: 0.6875 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.0001596/0.9937, allocations: 110.8 kB / 1.095 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004048/0.9941, allocations: 109.3 kB / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.9941, allocations: 192 / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.9943, allocations: 62.38 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.9946, allocations: 14.59 kB / 1.095 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005832/0.9952, allocations: 292.5 kB / 1.096 GB, free: 320 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.9956, allocations: 0.715 MB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.618e-05/0.9956, allocations: 17.7 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/0.9956, allocations: 0 / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of Templates: time 0.004513/1, allocations: 1.655 MB / 1.098 GB, free: 15.45 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/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