Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.009232/0.009232, allocations: 99.38 kB / 15.73 MB, free: 6.008 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.001951/0.001951, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.84/2.84, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 63.89 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.383, allocations: 159.1 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002824/0.3858, allocations: 1.013 MB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.3874, allocations: 0.9752 MB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.3876, allocations: 4 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.897e-05/0.3877, allocations: 19.8 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.3879, allocations: 23.73 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.3882, allocations: 67.92 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.3884, allocations: 168 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.3887, allocations: 64.2 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.3889, allocations: 71.7 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.389, allocations: 71.67 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.3891, allocations: 19.94 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.869e-05/0.3891, allocations: 20 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.3891, allocations: 39.84 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.569e-05/0.3892, allocations: 75.59 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.3895, allocations: 211.1 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3895, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3895, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.3895, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 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.0008282/0.3904, allocations: 454.7 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3904, allocations: 8.031 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/0.3905, allocations: 28.8 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/0.391, allocations: 257.7 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.391, allocations: 12.38 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.3911, allocations: 12.38 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.3914, allocations: 146.9 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3914, allocations: 3.938 kB / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.3915, allocations: 12 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.3915, allocations: 4 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.3918, allocations: 111.9 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000773/0.3926, allocations: 484.2 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.3929, allocations: 114.6 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.3931, allocations: 48.83 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.3931, allocations: 0 / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.3931, allocations: 42.5 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.3931, allocations: 0 / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0005629/0.3937, allocations: 177.4 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.3937, allocations: 55.41 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.3939, allocations: 157.8 kB / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.3939, allocations: 25.7 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.394, allocations: 124.3 kB / 1.226 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.394, allocations: 35.69 kB / 1.226 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.007e-05/0.3941, allocations: 41.7 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3942, allocations: 326.8 kB / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.3944, allocations: 39.97 kB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.3945, allocations: 79.33 kB / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/0.3949, allocations: 107.4 kB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.3949, allocations: 11.88 kB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003786/0.3952, allocations: 153.5 kB / 1.226 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3953, allocations: 5.562 kB / 1.226 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3953, allocations: 0 / 1.226 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3953, allocations: 4 kB / 1.226 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.3954, allocations: 23.97 kB / 1.226 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.3955, allocations: 7.938 kB / 1.226 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.3956, allocations: 19.89 kB / 1.226 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.3956, allocations: 7.984 kB / 1.226 GB, free: 7.602 MB / 0.9825 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.0001416/0.3957, allocations: 134.4 kB / 1.227 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.3958, allocations: 11.91 kB / 1.227 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.3958, allocations: 12.72 kB / 1.227 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3958, allocations: 0 / 1.227 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3958, allocations: 0 / 1.227 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3958, allocations: 3.984 kB / 1.227 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.3961, allocations: 241.5 kB / 1.227 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3961, allocations: 0 / 1.227 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.3962, allocations: 23.91 kB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3962, allocations: 8 kB / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.3962, allocations: 0 / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3962, allocations: 0 / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3962, allocations: 0 / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004055/0.3966, allocations: 235.3 kB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.3967, allocations: 85.06 kB / 1.227 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.3967, allocations: 8 kB / 1.227 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3968, allocations: 11.98 kB / 1.227 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.3969, allocations: 15.97 kB / 1.227 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.3969, allocations: 8 kB / 1.227 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.072e-05/0.397, allocations: 109.3 kB / 1.227 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.397, allocations: 0 / 1.227 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002688/0.3973, allocations: 31.89 kB / 1.227 GB, free: 6.586 MB / 0.9825 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.000178/0.3975, allocations: 115.2 kB / 1.227 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003631/0.3978, allocations: 108.5 kB / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3978, allocations: 0 / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.398, allocations: 51.97 kB / 1.228 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.3983, allocations: 28.55 kB / 1.228 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007301/0.3991, allocations: 280.5 kB / 1.228 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.3994, allocations: 0.7161 MB / 1.229 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.516e-05/0.3995, allocations: 21.06 kB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.3995, allocations: 19.44 kB / 1.229 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.3995, allocations: 0 / 1.229 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of Templates: time 0.00436/0.4039, allocations: 1.243 MB / 1.23 GB, free: 4.008 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches