Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001343/0.001348, allocations: 109.4 kB / 16.41 MB, free: 6.488 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.001444/0.001444, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.465/2.465, allocations: 461.9 MB / 0.7354 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.91 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6897/0.691, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002534/0.6936, allocations: 1.009 MB / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.6949, allocations: 0.9791 MB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.695, allocations: 0 / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.757e-05/0.6951, allocations: 19.75 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.6952, allocations: 15.8 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.6955, allocations: 67.86 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.6957, allocations: 160.1 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.6959, allocations: 96.11 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.696, allocations: 75.69 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.6962, allocations: 71.69 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.6962, allocations: 16 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.746e-05/0.6962, allocations: 20 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.112e-05/0.6963, allocations: 39.84 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.935e-05/0.6964, allocations: 75.59 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.6966, allocations: 215 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6966, allocations: 0 / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.616e-06/0.6966, allocations: 0 / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.6966, allocations: 3.938 kB / 1.211 GB, free: 10.78 MB / 0.9356 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.0007015/0.6973, allocations: 444.8 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.6974, allocations: 12.03 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.6975, allocations: 16.75 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004317/0.6979, allocations: 265.6 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.6979, allocations: 8.375 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.698, allocations: 16.38 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.6983, allocations: 154 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.6983, allocations: 192 / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.6983, allocations: 11.94 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.6983, allocations: 4 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.6987, allocations: 115.9 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000661/0.6994, allocations: 472.1 kB / 1.213 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.6997, allocations: 126.5 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.6998, allocations: 56.77 kB / 1.213 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.6999, allocations: 4 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.6999, allocations: 34.55 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.6999, allocations: 0 / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0005429/0.7004, allocations: 169.5 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.7005, allocations: 55.41 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.7006, allocations: 157.1 kB / 1.213 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.7006, allocations: 25.7 kB / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.832e-05/0.7007, allocations: 128.1 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.7008, allocations: 27.56 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.94e-05/0.7008, allocations: 37.7 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.701, allocations: 330.8 kB / 1.214 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.7011, allocations: 47.95 kB / 1.214 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.7013, allocations: 71.34 kB / 1.214 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.7016, allocations: 111.3 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.7016, allocations: 4 kB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003553/0.7019, allocations: 157.7 kB / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.702, allocations: 8.094 kB / 1.214 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.702, allocations: 4 kB / 1.214 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.702, allocations: 0 / 1.214 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.7022, allocations: 31.97 kB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.7022, allocations: 0 / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.521e-05/0.7023, allocations: 11.98 kB / 1.214 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.7023, allocations: 7.938 kB / 1.214 GB, free: 7.469 MB / 0.9356 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.0001139/0.7024, allocations: 141.7 kB / 1.214 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.7024, allocations: 11.81 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.7025, allocations: 20.7 kB / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.7025, allocations: 0 / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7025, allocations: 0 / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.7025, allocations: 4 kB / 1.214 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.7028, allocations: 237.5 kB / 1.215 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.7028, allocations: 0 / 1.215 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.7029, allocations: 19.98 kB / 1.215 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.7029, allocations: 0 / 1.215 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.7029, allocations: 8 kB / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.7029, allocations: 0 / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7029, allocations: 0 / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.7033, allocations: 243.2 kB / 1.215 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.52e-05/0.7034, allocations: 89 kB / 1.215 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.7034, allocations: 4 kB / 1.215 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.7036, allocations: 15.98 kB / 1.215 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.7036, allocations: 11.98 kB / 1.215 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.7036, allocations: 4 kB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.186e-05/0.7037, allocations: 112.9 kB / 1.215 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7037, allocations: 0 / 1.215 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002507/0.704, allocations: 31.84 kB / 1.215 GB, free: 6.434 MB / 0.9356 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.0001247/0.7041, allocations: 110.6 kB / 1.215 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003511/0.7045, allocations: 115.8 kB / 1.215 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7045, allocations: 0 / 1.215 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.7046, allocations: 63.89 kB / 1.215 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.705, allocations: 9.875 kB / 1.215 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.7055, allocations: 298.8 kB / 1.216 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.7058, allocations: 0.7123 MB / 1.216 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/0.7059, allocations: 19.44 kB / 1.216 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.7059, allocations: 0 / 1.216 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of Templates: time 0.003123/0.709, allocations: 1.704 MB / 1.218 GB, free: 3.359 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches