Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.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_11_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_11_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.002245/0.002245, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002627/0.002627, allocations: 190.4 kB / 16.25 MB, free: 6.648 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.527/1.527, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.962/2.962, allocations: 469.8 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 72.8 kB / 0.9081 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4021, allocations: 159.2 MB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.003426/0.4056, allocations: 1.066 MB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.4073, allocations: 0.9791 MB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.4075, allocations: 0 / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.268e-05/0.4076, allocations: 3.938 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.4077, allocations: 15.86 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.408, allocations: 47.97 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.4083, allocations: 172 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.4085, allocations: 92.11 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.4088, allocations: 75.77 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.4089, allocations: 67.69 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.409, allocations: 16 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.092e-05/0.409, allocations: 16 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.409, allocations: 39.84 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.124e-05/0.4091, allocations: 79.53 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.4095, allocations: 203.5 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.4095, allocations: 4 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4095, allocations: 4 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.4095, allocations: 0 / 1.066 GB, free: 11.72 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.0008382/0.4103, allocations: 449 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.4104, allocations: 8.031 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.51e-05/0.4105, allocations: 20.75 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.411, allocations: 244 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.411, allocations: 12.38 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.4111, allocations: 16.38 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005095/0.4116, allocations: 150.9 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.4116, allocations: 192 / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.4116, allocations: 7.938 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.4117, allocations: 4 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00037/0.412, allocations: 119.9 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008866/0.4129, allocations: 488 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.4133, allocations: 126.6 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.4135, allocations: 56.77 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.4135, allocations: 3.938 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.4135, allocations: 34.56 kB / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.4135, allocations: 0 / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006336/0.4142, allocations: 181.3 kB / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.4143, allocations: 51.41 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.4145, allocations: 154.9 kB / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.4145, allocations: 25.7 kB / 1.068 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.4147, allocations: 120.2 kB / 1.068 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.4147, allocations: 31.55 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.668e-05/0.4148, allocations: 45.7 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.415, allocations: 322.8 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.4152, allocations: 43.97 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.4154, allocations: 81.16 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.4157, allocations: 107.8 kB / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4157, allocations: 3.938 kB / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003989/0.4161, allocations: 153.4 kB / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.4161, allocations: 13.39 kB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.4162, allocations: 0 / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.4162, allocations: 0 / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.4164, allocations: 23.98 kB / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.4164, allocations: 3.938 kB / 1.069 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.4165, allocations: 23.83 kB / 1.069 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.4165, allocations: 4 kB / 1.069 GB, free: 8.406 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.0001427/0.4167, allocations: 134.8 kB / 1.069 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.4167, allocations: 15.81 kB / 1.069 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.4168, allocations: 16.7 kB / 1.069 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.4168, allocations: 4 kB / 1.069 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.4168, allocations: 0 / 1.069 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.4168, allocations: 0 / 1.069 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.4171, allocations: 233.5 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4171, allocations: 0 / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.4173, allocations: 31.86 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4173, allocations: 0 / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.4173, allocations: 3.984 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4173, allocations: 4 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.4173, allocations: 0 / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000444/0.4178, allocations: 227.3 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.23e-05/0.4179, allocations: 96.86 kB / 1.07 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.4179, allocations: 4 kB / 1.07 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.418, allocations: 7.984 kB / 1.07 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.4181, allocations: 15.98 kB / 1.07 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.4181, allocations: 11.94 kB / 1.07 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001044/0.4182, allocations: 112.7 kB / 1.07 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4182, allocations: 0 / 1.07 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002826/0.4185, allocations: 27.91 kB / 1.07 GB, free: 7.387 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.000179/0.4187, allocations: 111.1 kB / 1.07 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004205/0.4191, allocations: 119.9 kB / 1.07 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4191, allocations: 0 / 1.07 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.4193, allocations: 59.89 kB / 1.07 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.4197, allocations: 20.19 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007048/0.4204, allocations: 316.9 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.4209, allocations: 0.7123 MB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.421, allocations: 21.06 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.4211, allocations: 19.42 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.4211, allocations: 4 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of Templates: time 0.005067/0.4261, allocations: 1.159 MB / 1.073 GB, free: 4.852 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches