Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.002391/0.002391, allocations: 104.2 kB / 15.98 MB, free: 6.355 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.002261/0.002261, allocations: 198.8 kB / 16.91 MB, free: 6.188 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.543/1.543, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.39/2.39, allocations: 390.2 MB / 0.665 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.3 kB / 0.8127 GB, free: 33.19 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2852, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002457/0.2877, allocations: 1.053 MB / 0.9509 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.2889, allocations: 0.9674 MB / 0.9518 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.289, allocations: 0 / 0.9518 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.619e-05/0.2891, allocations: 11.86 kB / 0.9518 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.2893, allocations: 15.86 kB / 0.9518 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.2895, allocations: 47.97 kB / 0.9519 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.2897, allocations: 159.7 kB / 0.952 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.2899, allocations: 92.16 kB / 0.9521 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.2901, allocations: 67.72 kB / 0.9522 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.2902, allocations: 71.61 kB / 0.9522 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.2902, allocations: 16 kB / 0.9523 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.595e-05/0.2903, allocations: 20 kB / 0.9523 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.856e-05/0.2903, allocations: 35.91 kB / 0.9523 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.865e-05/0.2904, allocations: 67.61 kB / 0.9524 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.2906, allocations: 155.9 kB / 0.9525 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2906, allocations: 4 kB / 0.9525 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2906, allocations: 0 / 0.9525 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.2906, allocations: 0 / 0.9525 GB, free: 6.434 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.0006509/0.2913, allocations: 455.1 kB / 0.953 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2913, allocations: 8.031 kB / 0.953 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.143e-05/0.2914, allocations: 16.75 kB / 0.953 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.2918, allocations: 248.3 kB / 0.9532 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.2918, allocations: 16.59 kB / 0.9532 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.2919, allocations: 12.38 kB / 0.9533 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/0.2922, allocations: 144 kB / 0.9534 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2922, allocations: 0 / 0.9534 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.2922, allocations: 8 kB / 0.9534 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2922, allocations: 3.938 kB / 0.9534 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/0.2926, allocations: 120.8 kB / 0.9535 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006539/0.2932, allocations: 476 kB / 0.954 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.2935, allocations: 110.6 kB / 0.9541 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.2937, allocations: 52.81 kB / 0.9541 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.2937, allocations: 0 / 0.9541 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.2937, allocations: 38.5 kB / 0.9542 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.2938, allocations: 4 kB / 0.9542 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0005263/0.2943, allocations: 157.5 kB / 0.9543 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.2943, allocations: 59.34 kB / 0.9544 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.2945, allocations: 157 kB / 0.9545 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.2945, allocations: 25.7 kB / 0.9545 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.2946, allocations: 123.8 kB / 0.9547 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.2946, allocations: 35.55 kB / 0.9547 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.2947, allocations: 33.7 kB / 0.9547 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2948, allocations: 330.8 kB / 0.955 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.2949, allocations: 39.95 kB / 0.9551 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.2951, allocations: 71.41 kB / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.2954, allocations: 107.8 kB / 0.9553 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2954, allocations: 0 / 0.9553 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000364/0.2958, allocations: 157.3 kB / 0.9554 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.2958, allocations: 5.719 kB / 0.9554 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2958, allocations: 4 kB / 0.9554 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2958, allocations: 0 / 0.9554 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.296, allocations: 31.91 kB / 0.9554 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.296, allocations: 0 / 0.9554 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.903e-05/0.2961, allocations: 15.84 kB / 0.9555 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.2961, allocations: 20.02 kB / 0.9555 GB, free: 3.168 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.0001053/0.2962, allocations: 123 kB / 0.9556 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.2963, allocations: 7.906 kB / 0.9556 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.946e-05/0.2963, allocations: 16.72 kB / 0.9556 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2963, allocations: 0 / 0.9556 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2963, allocations: 0 / 0.9556 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2963, allocations: 0 / 0.9556 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.2966, allocations: 237.4 kB / 0.9558 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2966, allocations: 7.875 kB / 0.9559 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.2967, allocations: 23.98 kB / 0.9559 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2968, allocations: 3.984 kB / 0.9559 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.2968, allocations: 0 / 0.9559 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2968, allocations: 0 / 0.9559 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2968, allocations: 4 kB / 0.9559 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.2972, allocations: 231.3 kB / 0.9561 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/0.2972, allocations: 85.02 kB / 0.9562 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.2973, allocations: 0 / 0.9562 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.2974, allocations: 11.98 kB / 0.9562 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.2975, allocations: 19.92 kB / 0.9562 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.2975, allocations: 4 kB / 0.9562 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.715e-05/0.2976, allocations: 113.2 kB / 0.9563 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2976, allocations: 0 / 0.9563 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002607/0.2978, allocations: 27.84 kB / 0.9564 GB, free: 2.18 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.0001359/0.298, allocations: 107.2 kB / 0.9565 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.2983, allocations: 111.8 kB / 0.9566 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.2984, allocations: 8 kB / 0.9566 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.2985, allocations: 60.08 kB / 0.9566 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.2989, allocations: 16 kB / 0.9566 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005663/0.2994, allocations: 334.4 kB / 0.957 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.2997, allocations: 0.7122 MB / 0.9577 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.436e-05/0.2998, allocations: 19.44 kB / 0.9577 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of SimCode: time 7.71e-07/0.2998, allocations: 0 / 0.9577 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of Templates: time 0.003394/0.3032, allocations: 1.651 MB / 0.9593 GB, free: 15.11 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches