Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001479/0.001479, allocations: 105.4 kB / 16.27 MB, free: 6.414 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.001556/0.001556, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.394/1.394, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.252/2.252, allocations: 390.3 MB / 0.6653 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 65.73 kB / 0.8132 GB, free: 32.98 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2984, allocations: 140.4 MB / 0.9503 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002721/0.3012, allocations: 1.004 MB / 0.9513 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.3025, allocations: 0.9674 MB / 0.9523 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.3027, allocations: 4 kB / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.77e-05/0.3028, allocations: 19.8 kB / 0.9523 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.303, allocations: 19.73 kB / 0.9523 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.3032, allocations: 63.88 kB / 0.9524 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.3034, allocations: 159.7 kB / 0.9525 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.3036, allocations: 84.17 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.3038, allocations: 75.64 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.3039, allocations: 71.69 kB / 0.9527 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.3039, allocations: 16 kB / 0.9527 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.451e-05/0.304, allocations: 16 kB / 0.9528 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.901e-05/0.304, allocations: 31.91 kB / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.806e-05/0.3041, allocations: 71.59 kB / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.3043, allocations: 203.5 kB / 0.953 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3043, allocations: 0 / 0.953 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.504e-06/0.3043, allocations: 4 kB / 0.9531 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.3043, allocations: 0 / 0.9531 GB, free: 6.023 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006852/0.305, allocations: 443.1 kB / 0.9535 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3051, allocations: 12.03 kB / 0.9535 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.257e-05/0.3051, allocations: 20.75 kB / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.3056, allocations: 248.3 kB / 0.9537 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.3056, allocations: 8.656 kB / 0.9538 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.3057, allocations: 12.38 kB / 0.9538 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.306, allocations: 148 kB / 0.9539 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.306, allocations: 0 / 0.9539 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.306, allocations: 4 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.306, allocations: 4 kB / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/0.3064, allocations: 120.6 kB / 0.954 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006168/0.307, allocations: 476 kB / 0.9545 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.3073, allocations: 114.5 kB / 0.9546 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.3074, allocations: 48.89 kB / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.3075, allocations: 3.984 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.3075, allocations: 30.56 kB / 0.9547 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.3075, allocations: 0 / 0.9547 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.00054/0.308, allocations: 173.4 kB / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.3081, allocations: 51.41 kB / 0.9549 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.3082, allocations: 156.4 kB / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.3083, allocations: 25.7 kB / 0.9551 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.3083, allocations: 115.8 kB / 0.9552 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.3084, allocations: 35.44 kB / 0.9552 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.3084, allocations: 41.69 kB / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3085, allocations: 330.8 kB / 0.9556 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.3087, allocations: 39.97 kB / 0.9556 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.3089, allocations: 67.39 kB / 0.9557 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.3092, allocations: 111.3 kB / 0.9558 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3092, allocations: 0 / 0.9558 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003734/0.3095, allocations: 149.8 kB / 0.9559 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3096, allocations: 12.09 kB / 0.9559 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3096, allocations: 0 / 0.9559 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3096, allocations: 0 / 0.9559 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.3098, allocations: 31.91 kB / 0.956 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3098, allocations: 0 / 0.956 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.891e-05/0.3099, allocations: 23.83 kB / 0.956 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.3099, allocations: 7.938 kB / 0.956 GB, free: 2.777 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.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 (14): * Single equations (assignments): 14 * 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.0001156/0.31, allocations: 127.9 kB / 0.9561 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.3101, allocations: 11.91 kB / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.3101, allocations: 12.72 kB / 0.9561 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3101, allocations: 7.984 kB / 0.9561 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3101, allocations: 0 / 0.9561 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3101, allocations: 0 / 0.9561 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.3104, allocations: 237.4 kB / 0.9564 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3104, allocations: 3.938 kB / 0.9564 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.3105, allocations: 23.91 kB / 0.9564 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3105, allocations: 0 / 0.9564 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3106, allocations: 12 kB / 0.9564 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3106, allocations: 0 / 0.9564 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3106, allocations: 4 kB / 0.9564 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.311, allocations: 219.3 kB / 0.9566 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.311, allocations: 85.02 kB / 0.9567 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.311, allocations: 4 kB / 0.9567 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.3112, allocations: 15.98 kB / 0.9567 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.3112, allocations: 11.98 kB / 0.9567 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.3112, allocations: 7.984 kB / 0.9567 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.837e-05/0.3113, allocations: 113.3 kB / 0.9568 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.104e-06/0.3113, allocations: 3.938 kB / 0.9568 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002559/0.3116, allocations: 31.78 kB / 0.9569 GB, free: 1.773 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001405/0.3117, allocations: 107.2 kB / 0.957 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000368/0.3121, allocations: 111.9 kB / 0.9571 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3121, allocations: 0 / 0.9571 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.3123, allocations: 55.91 kB / 0.9571 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.3126, allocations: 15.94 kB / 0.9572 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006174/0.3133, allocations: 286.6 kB / 0.9574 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.3136, allocations: 0.7161 MB / 0.9581 GB, free: 428 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.555e-05/0.3136, allocations: 19.44 kB / 0.9581 GB, free: 408 kB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.3136, allocations: 0 / 0.9581 GB, free: 408 kB / 0.7325 GB Notification: Performance of Templates: time 0.003445/0.3171, allocations: 1.652 MB / 0.9598 GB, free: 14.75 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches