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 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.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.001405/0.001405, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001729/0.001729, allocations: 195.5 kB / 16.25 MB, free: 6.633 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.594/1.594, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.217/3.217, allocations: 472.7 MB / 0.7448 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.61 kB / 0.9116 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3785, allocations: 159.9 MB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002467/0.381, allocations: 1.062 MB / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.3822, allocations: 0.9791 MB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.043e-05/0.3823, allocations: 0 / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.557e-05/0.3824, allocations: 11.86 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.3825, allocations: 11.94 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.3828, allocations: 51.89 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.383, allocations: 168 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.3832, allocations: 88.19 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.3834, allocations: 71.7 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.3835, allocations: 75.67 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.3836, allocations: 16 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.629e-05/0.3836, allocations: 23.94 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.777e-05/0.3836, allocations: 31.92 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.282e-05/0.3837, allocations: 75.58 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.384, allocations: 203.5 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.384, allocations: 4 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.402e-06/0.384, allocations: 3.938 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.384, allocations: 0 / 1.071 GB, free: 7.824 MB / 0.8262 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.0007175/0.3847, allocations: 446.9 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3848, allocations: 8.031 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.3848, allocations: 16.75 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/0.3853, allocations: 253.7 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.3853, allocations: 16.38 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.3854, allocations: 12.38 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.3857, allocations: 146 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3857, allocations: 192 / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.3857, allocations: 11.94 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.3857, allocations: 7.938 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.3861, allocations: 119.8 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007267/0.3868, allocations: 484.1 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.3871, allocations: 134.5 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.3873, allocations: 48.83 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.3873, allocations: 4 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.3873, allocations: 30.56 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.3873, allocations: 4 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0005186/0.3879, allocations: 169.4 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.3879, allocations: 59.41 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.388, allocations: 154.3 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.3881, allocations: 25.7 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.3881, allocations: 124.2 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.3882, allocations: 35.55 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-05/0.3882, allocations: 37.7 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3884, allocations: 322.8 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.3885, allocations: 43.97 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.3887, allocations: 76.23 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.389, allocations: 115.6 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.389, allocations: 0 / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003374/0.3893, allocations: 157.4 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3894, allocations: 4 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3894, allocations: 4 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3894, allocations: 0 / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.3896, allocations: 35.91 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3896, allocations: 0 / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.091e-05/0.3897, allocations: 12.03 kB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.3897, allocations: 11.98 kB / 1.074 GB, free: 4.504 MB / 0.8262 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.0001137/0.3898, allocations: 131.3 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.3899, allocations: 15.75 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.3899, allocations: 16.72 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3899, allocations: 0 / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3899, allocations: 4 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3899, allocations: 3.984 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.3902, allocations: 237.4 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3902, allocations: 4 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.3903, allocations: 27.97 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3903, allocations: 0 / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3903, allocations: 0 / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3903, allocations: 0 / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3903, allocations: 0 / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.3907, allocations: 239.2 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.3908, allocations: 84.95 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.3908, allocations: 4 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.3909, allocations: 15.92 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/0.391, allocations: 19.97 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.391, allocations: 3.984 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.062e-05/0.3911, allocations: 114.4 kB / 1.074 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3911, allocations: 3.938 kB / 1.074 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002441/0.3913, allocations: 27.91 kB / 1.074 GB, free: 3.473 MB / 0.8262 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.0001286/0.3915, allocations: 111.2 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000375/0.3919, allocations: 115.9 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3919, allocations: 0 / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.392, allocations: 60.09 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.3924, allocations: 22.42 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007405/0.3931, allocations: 312.9 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.3935, allocations: 0.7161 MB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.3936, allocations: 17.08 kB / 1.076 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/0.3937, allocations: 23.44 kB / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3937, allocations: 0 / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of Templates: time 0.00415/0.3978, allocations: 1.162 MB / 1.077 GB, free: 0.9453 MB / 0.8262 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/jenkins/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