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.00159/0.00159, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.525/1.525, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 472.7 MB / 0.7451 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001315, allocations: 67.61 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4056, allocations: 159.9 MB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002468/0.4081, allocations: 1.014 MB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.4093, allocations: 0.9791 MB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.153e-05/0.4094, allocations: 4 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.63e-05/0.4095, allocations: 15.8 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.4096, allocations: 15.8 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.4098, allocations: 71.88 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000176/0.41, allocations: 168 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.4102, allocations: 84.19 kB / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.4103, allocations: 71.7 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.4104, allocations: 67.69 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.4105, allocations: 20 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.052e-05/0.4105, allocations: 16 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.736e-05/0.4106, allocations: 39.84 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.061e-05/0.4106, allocations: 79.58 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.4109, allocations: 203.5 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4109, allocations: 4 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4109, allocations: 0 / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.4109, allocations: 4 kB / 1.071 GB, free: 7.453 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.0006506/0.4116, allocations: 446.9 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.4116, allocations: 12.03 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.4117, allocations: 16.75 kB / 1.072 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.4121, allocations: 250.4 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.4121, allocations: 12.38 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.4122, allocations: 12.38 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.4125, allocations: 146 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.4125, allocations: 4.188 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.4125, allocations: 11.88 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.4126, allocations: 4 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/0.4129, allocations: 123.8 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006703/0.4136, allocations: 492 kB / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.4139, allocations: 118.6 kB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.4141, allocations: 52.83 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.4141, allocations: 3.984 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.4141, allocations: 42.5 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.4141, allocations: 0 / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0005605/0.4147, allocations: 169.4 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.4147, allocations: 59.41 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.4149, allocations: 157.9 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.4149, allocations: 25.7 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/0.415, allocations: 120.2 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.4151, allocations: 31.55 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/0.4151, allocations: 37.7 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.4153, allocations: 326.8 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.4154, allocations: 47.97 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.4156, allocations: 75.33 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.4159, allocations: 107.3 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.4159, allocations: 4 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003577/0.4163, allocations: 153.3 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4163, allocations: 4 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4163, allocations: 0 / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.4163, allocations: 8.094 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.4165, allocations: 19.98 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.4165, allocations: 7.938 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.251e-05/0.4166, allocations: 19.92 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.4166, allocations: 4 kB / 1.074 GB, free: 4.141 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.0001108/0.4167, allocations: 135.5 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.4168, allocations: 11.81 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.712e-05/0.4168, allocations: 20.72 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4168, allocations: 0 / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4168, allocations: 0 / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4168, allocations: 4 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.4171, allocations: 237.5 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4171, allocations: 3.938 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.4172, allocations: 23.91 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.4172, allocations: 4 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.4173, allocations: 0 / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4173, allocations: 3.938 kB / 1.074 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4173, allocations: 4 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.4176, allocations: 235.8 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.4177, allocations: 88.95 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.4177, allocations: 4 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.4178, allocations: 11.98 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.573e-05/0.4179, allocations: 15.98 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.4179, allocations: 11.98 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.524e-05/0.418, allocations: 110.4 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.423e-06/0.418, allocations: 0 / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000244/0.4183, allocations: 31.84 kB / 1.075 GB, free: 3.105 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.0001258/0.4184, allocations: 107.7 kB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003738/0.4188, allocations: 127.9 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4188, allocations: 0 / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.419, allocations: 59.91 kB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.4193, allocations: 12 kB / 1.075 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.4198, allocations: 265.1 kB / 1.075 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.4201, allocations: 0.7162 MB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.311e-05/0.4202, allocations: 17.08 kB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.556e-05/0.4203, allocations: 19.42 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.4203, allocations: 0 / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of Templates: time 0.004071/0.4244, allocations: 1.246 MB / 1.077 GB, free: 0.5391 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