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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.00122/0.001219, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001539/0.001539, allocations: 168.7 kB / 15.95 MB, free: 204 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.499/1.499, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.933/2.933, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005326/0.0005326, allocations: 9.781 kB / 0.9022 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3819, allocations: 159.6 MB / 1.058 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001283/0.3832, allocations: 0.682 MB / 1.059 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.3847, allocations: 0.952 MB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.3849, allocations: 4 kB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.67e-05/0.385, allocations: 11.86 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.3851, allocations: 7.875 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.3854, allocations: 51.94 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.3856, allocations: 148.1 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.3859, allocations: 60.41 kB / 1.06 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.3861, allocations: 51.7 kB / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.3862, allocations: 55.7 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.3862, allocations: 4 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.8e-05/0.3863, allocations: 8 kB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.3863, allocations: 15.92 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.3863, allocations: 45.64 kB / 1.06 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.3866, allocations: 163.8 kB / 1.06 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3866, allocations: 0 / 1.06 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3866, allocations: 0 / 1.06 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3866, allocations: 0 / 1.06 GB, free: 3.012 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.0008453/0.3875, allocations: 434.8 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3875, allocations: 12.03 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/0.3876, allocations: 15.81 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.3881, allocations: 254.7 kB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.3881, allocations: 12 kB / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.3881, allocations: 23.94 kB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.3885, allocations: 145.5 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3885, allocations: 7.922 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.3885, allocations: 8 kB / 1.061 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.3885, allocations: 4 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003559/0.3889, allocations: 131.9 kB / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007913/0.3897, allocations: 488 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.39, allocations: 118.7 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.3902, allocations: 64.83 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.3902, allocations: 0 / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.3903, allocations: 34.56 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.654e-06/0.3903, allocations: 0 / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0005707/0.3909, allocations: 193.4 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.3909, allocations: 51.41 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.3911, allocations: 162.5 kB / 1.062 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.3911, allocations: 29.7 kB / 1.062 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.3912, allocations: 120.2 kB / 1.062 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.3913, allocations: 39.48 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-06/0.3913, allocations: 4 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3915, allocations: 322.8 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.3916, allocations: 55.97 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.3918, allocations: 75.39 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.392, allocations: 47.97 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.392, allocations: 0 / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003764/0.3924, allocations: 165.3 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.3924, allocations: 7.984 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3924, allocations: 0 / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3925, allocations: 4 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.3926, allocations: 39.86 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.3926, allocations: 4 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.3928, allocations: 16.08 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.3928, allocations: 4 kB / 1.063 GB, free: 15.74 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 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.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 (15): * Single equations (assignments): 15 * 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.000155/0.3929, allocations: 133.7 kB / 1.063 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.393, allocations: 15.81 kB / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.379e-05/0.393, allocations: 20.69 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.393, allocations: 4 kB / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3931, allocations: 0 / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3931, allocations: 0 / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.3934, allocations: 237.5 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3934, allocations: 0 / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.3935, allocations: 31.92 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3935, allocations: 0 / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.3935, allocations: 7.922 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3935, allocations: 0 / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3936, allocations: 0 / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.394, allocations: 247.8 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.394, allocations: 88.97 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.3941, allocations: 0 / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.3942, allocations: 19.98 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.3942, allocations: 19.97 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.3943, allocations: 4 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.42e-05/0.3943, allocations: 105.7 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3943, allocations: 0 / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002632/0.3946, allocations: 27.84 kB / 1.064 GB, free: 14.71 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 (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.0001872/0.3948, allocations: 111.2 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003535/0.3952, allocations: 131.9 kB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3952, allocations: 0 / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.3954, allocations: 68.09 kB / 1.064 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.3957, allocations: 10.67 kB / 1.064 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006135/0.3963, allocations: 316 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.3967, allocations: 0.7165 MB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.3968, allocations: 17.08 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.3969, allocations: 19.42 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3969, allocations: 0 / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of Templates: time 0.004228/0.4012, allocations: 1.065 MB / 1.067 GB, free: 12.25 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