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 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.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.0008226/0.0008227, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.006164/0.006164, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.444/1.444, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.022/3.022, allocations: 462.7 MB / 0.7364 GB, free: 328 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003825, allocations: 12.81 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3805, allocations: 159.6 MB / 1.059 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001607/0.3822, allocations: 0.7127 MB / 1.059 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.3841, allocations: 0.9636 MB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.3843, allocations: 4 kB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.582e-05/0.3844, allocations: 11.86 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.3846, allocations: 11.88 kB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.385, allocations: 55.95 kB / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.3853, allocations: 152 kB / 1.061 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000281/0.3856, allocations: 88.08 kB / 1.061 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.3858, allocations: 55.7 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.386, allocations: 51.7 kB / 1.061 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.386, allocations: 4 kB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.221e-05/0.386, allocations: 8 kB / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.13e-05/0.3861, allocations: 19.86 kB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.3862, allocations: 85.3 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.3865, allocations: 191.5 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.3865, allocations: 0 / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.576e-06/0.3865, allocations: 0 / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.3865, allocations: 0 / 1.061 GB, free: 3.078 MB / 0.8106 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.0008668/0.3874, allocations: 427.1 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.3875, allocations: 11.97 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.473e-05/0.3875, allocations: 16.75 kB / 1.062 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000516/0.388, allocations: 265.5 kB / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.3881, allocations: 8.375 kB / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.3881, allocations: 16.38 kB / 1.062 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.3885, allocations: 159.1 kB / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3886, allocations: 192 / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.3886, allocations: 11.94 kB / 1.062 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.3886, allocations: 4 kB / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003883/0.389, allocations: 123.9 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008674/0.3899, allocations: 488 kB / 1.063 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.3902, allocations: 142.6 kB / 1.063 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.3904, allocations: 56.83 kB / 1.063 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.3904, allocations: 0 / 1.063 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.3905, allocations: 34.56 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.3905, allocations: 0 / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0006344/0.3911, allocations: 205.3 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.3912, allocations: 51.41 kB / 1.063 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.3914, allocations: 152.2 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.3914, allocations: 37.64 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.3915, allocations: 120.2 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.3916, allocations: 31.55 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.3916, allocations: 25.72 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.3918, allocations: 322.8 kB / 1.064 GB, free: 204 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.3919, allocations: 55.95 kB / 1.064 GB, free: 148 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.3921, allocations: 73.94 kB / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/0.3925, allocations: 127.3 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3925, allocations: 7.938 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004569/0.3929, allocations: 161.4 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.393, allocations: 9.5 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.393, allocations: 0 / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.393, allocations: 8 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.3932, allocations: 27.97 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.3932, allocations: 3.984 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.3934, allocations: 19.89 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.3934, allocations: 8 kB / 1.064 GB, free: 15.68 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.0001479/0.3935, allocations: 139.2 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.3936, allocations: 7.906 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.712e-05/0.3936, allocations: 20.7 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3936, allocations: 0 / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.3937, allocations: 4 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3937, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.394, allocations: 241.4 kB / 1.065 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.394, allocations: 0 / 1.065 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.3941, allocations: 27.92 kB / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.3941, allocations: 4 kB / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.3941, allocations: 0 / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.3942, allocations: 0 / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3942, allocations: 3.938 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/0.3946, allocations: 247.8 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.3947, allocations: 92.91 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.3947, allocations: 0 / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3949, allocations: 15.98 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/0.395, allocations: 19.98 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.395, allocations: 0 / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.499e-05/0.3951, allocations: 117.2 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3951, allocations: 0 / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000287/0.3954, allocations: 23.94 kB / 1.065 GB, free: 14.64 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.0001955/0.3956, allocations: 115.1 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004118/0.396, allocations: 123.9 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.396, allocations: 0 / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.3962, allocations: 72.08 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.3966, allocations: 16 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006756/0.3973, allocations: 331.9 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.3976, allocations: 0.7126 MB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.3977, allocations: 21.06 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.895e-05/0.3978, allocations: 23.44 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of SimCode: time 1.91e-07/0.3978, allocations: 0 / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of Templates: time 0.00458/0.4024, allocations: 1.089 MB / 1.067 GB, free: 12.14 MB / 0.8262 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=480 -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