Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 100.1 kB / 15.88 MB, free: 12 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.001798/0.001798, allocations: 197.2 kB / 16.79 MB, free: 6.809 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.404/1.404, allocations: 222.9 MB / 240.5 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.568/2.568, allocations: 390.2 MB / 0.6649 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 59.91 kB / 0.8126 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7756/0.777, allocations: 140.4 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.003148/0.7802, allocations: 1.046 MB / 0.9507 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.7817, allocations: 0.9802 MB / 0.9516 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.7818, allocations: 1.75 kB / 0.9516 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.579e-05/0.7819, allocations: 7.922 kB / 0.9516 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.7821, allocations: 10.84 kB / 0.9516 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.7823, allocations: 52.05 kB / 0.9517 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.7825, allocations: 142.4 kB / 0.9518 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/0.7828, allocations: 94.33 kB / 0.9519 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.783, allocations: 62.91 kB / 0.952 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.7831, allocations: 64.19 kB / 0.952 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.7832, allocations: 8.25 kB / 0.952 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.97e-05/0.7832, allocations: 8.25 kB / 0.9521 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.031e-05/0.7833, allocations: 28.03 kB / 0.9521 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.566e-05/0.7834, allocations: 65.34 kB / 0.9521 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.7836, allocations: 147.8 kB / 0.9523 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.7836, allocations: 7.938 kB / 0.9523 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7836, allocations: 0 / 0.9523 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.7836, allocations: 1.375 kB / 0.9523 GB, free: 7.059 MB / 0.7169 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.0008146/0.7845, allocations: 453.6 kB / 0.9527 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.7845, allocations: 8.25 kB / 0.9527 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.681e-05/0.7846, allocations: 21.16 kB / 0.9528 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.7851, allocations: 251.3 kB / 0.953 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.7852, allocations: 14.77 kB / 0.953 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.7852, allocations: 12.41 kB / 0.953 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.7857, allocations: 145.9 kB / 0.9532 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.7857, allocations: 0 / 0.9532 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.7857, allocations: 5.594 kB / 0.9532 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.7857, allocations: 3.094 kB / 0.9532 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000445/0.7862, allocations: 113.9 kB / 0.9533 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008559/0.7871, allocations: 480.7 kB / 0.9537 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/0.7875, allocations: 106.5 kB / 0.9538 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.7877, allocations: 49.45 kB / 0.9539 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.7877, allocations: 1.188 kB / 0.9539 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.7878, allocations: 39.77 kB / 0.9539 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.7878, allocations: 5.188 kB / 0.9539 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0007897/0.7886, allocations: 166 kB / 0.9541 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.7886, allocations: 53.09 kB / 0.9541 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.7888, allocations: 152.2 kB / 0.9543 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.7888, allocations: 30.73 kB / 0.9543 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.784e-05/0.7889, allocations: 122.6 kB / 0.9544 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.789, allocations: 36.17 kB / 0.9545 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.605e-05/0.7891, allocations: 33.73 kB / 0.9545 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.009e-05/0.7892, allocations: 326.8 kB / 0.9548 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.7894, allocations: 42.16 kB / 0.9548 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.7896, allocations: 77.23 kB / 0.9549 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.79, allocations: 109.7 kB / 0.955 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.79, allocations: 0 / 0.955 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005349/0.7906, allocations: 151.7 kB / 0.9552 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.7906, allocations: 5.438 kB / 0.9552 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.7906, allocations: 1.812 kB / 0.9552 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.7907, allocations: 1.5 kB / 0.9552 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.7909, allocations: 25.14 kB / 0.9552 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.7909, allocations: 1.969 kB / 0.9552 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.7911, allocations: 19.36 kB / 0.9552 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.7911, allocations: 11.88 kB / 0.9552 GB, free: 4.508 MB / 0.7169 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.0001407/0.7913, allocations: 130.4 kB / 0.9554 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.7913, allocations: 12.7 kB / 0.9554 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.062e-05/0.7914, allocations: 14.88 kB / 0.9554 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.7914, allocations: 1.125 kB / 0.9554 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.7914, allocations: 1.125 kB / 0.9554 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7914, allocations: 3.938 kB / 0.9554 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003166/0.7918, allocations: 237.3 kB / 0.9556 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7918, allocations: 4 kB / 0.9556 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.7919, allocations: 18.58 kB / 0.9556 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.7919, allocations: 0 / 0.9556 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.792, allocations: 1.188 kB / 0.9556 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.792, allocations: 5.391 kB / 0.9556 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.792, allocations: 0 / 0.9556 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.7925, allocations: 232.6 kB / 0.9559 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.7925, allocations: 88.16 kB / 0.9559 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.7926, allocations: 2.031 kB / 0.9559 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.7927, allocations: 8.484 kB / 0.956 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.7929, allocations: 14.95 kB / 0.956 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.7929, allocations: 6.906 kB / 0.956 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.234e-05/0.793, allocations: 115.6 kB / 0.9561 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/0.793, allocations: 0 / 0.9561 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004094/0.7934, allocations: 30 kB / 0.9561 GB, free: 3.684 MB / 0.7169 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.0001632/0.7936, allocations: 105.7 kB / 0.9562 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004629/0.7941, allocations: 114.5 kB / 0.9563 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7941, allocations: 0 / 0.9563 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.7943, allocations: 60.19 kB / 0.9564 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/0.7948, allocations: 13.73 kB / 0.9564 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007421/0.7956, allocations: 332.8 kB / 0.9567 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.7958, allocations: 0.7117 MB / 0.9574 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.535e-05/0.7959, allocations: 15.91 kB / 0.9574 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of SimCode: time 1.373e-06/0.7959, allocations: 0 / 0.9574 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of Templates: time 0.004579/0.8005, allocations: 1.647 MB / 0.959 GB, free: 1.652 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches