Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.002052/0.002052, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002493/0.002493, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.599/1.599, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.09/3.09, allocations: 482.6 MB / 0.7549 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 66.89 kB / 0.9241 GB, free: 29.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.389, allocations: 162.3 MB / 1.083 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002834/0.3919, allocations: 1.008 MB / 1.084 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.3933, allocations: 0.9791 MB / 1.085 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.734e-05/0.3934, allocations: 0 / 1.085 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.689e-05/0.3935, allocations: 15.8 kB / 1.085 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.3936, allocations: 27.73 kB / 1.085 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.3939, allocations: 59.88 kB / 1.085 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.3941, allocations: 164 kB / 1.085 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.3944, allocations: 92.16 kB / 1.085 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.3945, allocations: 67.72 kB / 1.085 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.3947, allocations: 79.67 kB / 1.085 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.3947, allocations: 16 kB / 1.085 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.792e-05/0.3948, allocations: 20 kB / 1.085 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.727e-05/0.3948, allocations: 39.84 kB / 1.085 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.557e-05/0.3949, allocations: 71.59 kB / 1.085 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.3952, allocations: 207.5 kB / 1.085 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3952, allocations: 0 / 1.085 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3952, allocations: 0 / 1.085 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.3952, allocations: 0 / 1.085 GB, free: 10.02 MB / 0.8419 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.0007671/0.396, allocations: 450.9 kB / 1.086 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.396, allocations: 8.031 kB / 1.086 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.695e-05/0.3961, allocations: 20.66 kB / 1.086 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/0.3966, allocations: 248.1 kB / 1.086 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.3966, allocations: 12.38 kB / 1.086 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.3967, allocations: 16.38 kB / 1.086 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.397, allocations: 150 kB / 1.086 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.397, allocations: 192 / 1.086 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.3971, allocations: 11.94 kB / 1.086 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.3971, allocations: 4 kB / 1.086 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003467/0.3974, allocations: 115.8 kB / 1.086 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007393/0.3982, allocations: 492 kB / 1.087 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.3985, allocations: 126.5 kB / 1.087 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.3987, allocations: 52.83 kB / 1.087 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3987, allocations: 4 kB / 1.087 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.3988, allocations: 34.55 kB / 1.087 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.3988, allocations: 0 / 1.087 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0005777/0.3993, allocations: 177.5 kB / 1.087 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.3994, allocations: 59.28 kB / 1.087 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.3996, allocations: 151.8 kB / 1.087 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.3996, allocations: 29.7 kB / 1.087 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.856e-05/0.3997, allocations: 124.2 kB / 1.088 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.3997, allocations: 31.55 kB / 1.088 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/0.3998, allocations: 41.7 kB / 1.088 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4, allocations: 322.8 kB / 1.088 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.4001, allocations: 43.97 kB / 1.088 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.4003, allocations: 71.39 kB / 1.088 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.4006, allocations: 119.7 kB / 1.088 GB, free: 6.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.4006, allocations: 0 / 1.088 GB, free: 6.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003718/0.401, allocations: 153.3 kB / 1.088 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.401, allocations: 5.25 kB / 1.088 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4011, allocations: 8.094 kB / 1.088 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.4011, allocations: 0 / 1.088 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.4013, allocations: 27.92 kB / 1.088 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.4013, allocations: 0 / 1.088 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.798e-05/0.4014, allocations: 15.92 kB / 1.088 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.4014, allocations: 8 kB / 1.088 GB, free: 6.691 MB / 0.8419 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.0001381/0.4015, allocations: 129.8 kB / 1.089 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.4016, allocations: 19.81 kB / 1.089 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.4016, allocations: 12.72 kB / 1.089 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.4016, allocations: 4 kB / 1.089 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.4016, allocations: 3.938 kB / 1.089 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.4017, allocations: 0 / 1.089 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.4019, allocations: 237.5 kB / 1.089 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.402, allocations: 0 / 1.089 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.4021, allocations: 23.97 kB / 1.089 GB, free: 6.211 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4021, allocations: 3.938 kB / 1.089 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.4021, allocations: 0 / 1.089 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4021, allocations: 4 kB / 1.089 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4021, allocations: 4 kB / 1.089 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.4025, allocations: 231.2 kB / 1.089 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.4026, allocations: 92.83 kB / 1.089 GB, free: 5.848 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.4026, allocations: 8 kB / 1.089 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.4028, allocations: 15.98 kB / 1.089 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.4028, allocations: 15.98 kB / 1.089 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.4029, allocations: 3.984 kB / 1.089 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.434e-05/0.403, allocations: 119.1 kB / 1.089 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.403, allocations: 0 / 1.089 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002445/0.4032, allocations: 19.91 kB / 1.089 GB, free: 5.672 MB / 0.8419 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.0001738/0.4034, allocations: 111.2 kB / 1.089 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003986/0.4038, allocations: 123.8 kB / 1.09 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4038, allocations: 0 / 1.09 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.404, allocations: 59.91 kB / 1.09 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.4044, allocations: 15.98 kB / 1.09 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006119/0.405, allocations: 261.1 kB / 1.09 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.4054, allocations: 0.7162 MB / 1.091 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.106e-05/0.4055, allocations: 17.08 kB / 1.091 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/0.4055, allocations: 27.42 kB / 1.091 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.4055, allocations: 0 / 1.091 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of Templates: time 0.004595/0.4101, allocations: 1.241 MB / 1.092 GB, free: 3.098 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches