Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001168/0.001168, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001467/0.001467, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.802/2.802, allocations: 437.7 MB / 0.7117 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004343/0.0004345, allocations: 8 kB / 0.8723 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7825/0.783, allocations: 153.8 MB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001506/0.7845, allocations: 0.6804 MB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.7858, allocations: 0.9481 MB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.869e-05/0.7859, allocations: 4 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.7859, allocations: 15.8 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.786, allocations: 15.88 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.7862, allocations: 43.94 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.7864, allocations: 135.7 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.7866, allocations: 78.86 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.7867, allocations: 47.77 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.935e-05/0.7868, allocations: 47.72 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.7869, allocations: 8 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.739e-05/0.7869, allocations: 4 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.7869, allocations: 23.91 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.258e-05/0.787, allocations: 45.64 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.7871, allocations: 149.6 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7871, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7871, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.7871, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.7794 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.0005795/0.7877, allocations: 432.5 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.7878, allocations: 8.562 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.7878, allocations: 15.81 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/0.7883, allocations: 251 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.7883, allocations: 24.17 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.7883, allocations: 19.92 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.7887, allocations: 143.9 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.7887, allocations: 0 / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.7887, allocations: 8 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.7887, allocations: 4 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/0.7891, allocations: 124.7 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006983/0.7898, allocations: 476.3 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.7901, allocations: 110.7 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.7902, allocations: 52.83 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.7902, allocations: 4 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.7903, allocations: 30.56 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.7903, allocations: 0 / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005668/0.7908, allocations: 193.3 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.7909, allocations: 59.41 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.791, allocations: 151.1 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.7911, allocations: 29.7 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/0.7911, allocations: 119.8 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.7912, allocations: 35.53 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.7912, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.7913, allocations: 322.8 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.7914, allocations: 55.91 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.7916, allocations: 75.39 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.7918, allocations: 51.88 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7918, allocations: 3.938 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003383/0.7921, allocations: 165.4 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.7921, allocations: 7.984 kB / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.7921, allocations: 0 / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.7922, allocations: 4 kB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.7923, allocations: 23.98 kB / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.7923, allocations: 3.938 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.7925, allocations: 20.08 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.7925, allocations: 11.98 kB / 1.028 GB, free: 10.57 MB / 0.7794 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 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.7926, allocations: 131.5 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.7926, allocations: 11.81 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.371e-05/0.7927, allocations: 20.7 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.7927, allocations: 0 / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7927, allocations: 0 / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.7927, allocations: 0 / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.793, allocations: 237.5 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.793, allocations: 3.953 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.7931, allocations: 23.98 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.7931, allocations: 3.938 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.7931, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.7931, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7931, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.7935, allocations: 235.4 kB / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.7936, allocations: 96.86 kB / 1.028 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.7936, allocations: 4 kB / 1.028 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.7937, allocations: 12 kB / 1.028 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/0.7938, allocations: 19.97 kB / 1.028 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.7938, allocations: 4 kB / 1.028 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.666e-05/0.7939, allocations: 111.8 kB / 1.028 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7939, allocations: 0 / 1.028 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002463/0.7941, allocations: 23.94 kB / 1.028 GB, free: 9.555 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001412/0.7943, allocations: 115.2 kB / 1.029 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000334/0.7946, allocations: 116.5 kB / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7946, allocations: 0 / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.7948, allocations: 72.3 kB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.7951, allocations: 12 kB / 1.029 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005354/0.7956, allocations: 314.1 kB / 1.029 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.7959, allocations: 0.7162 MB / 1.03 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.146e-05/0.796, allocations: 16.64 kB / 1.03 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.7961, allocations: 15.44 kB / 1.03 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7961, allocations: 0 / 1.03 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of Templates: time 0.003792/0.7999, allocations: 1.041 MB / 1.031 GB, free: 7.141 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches