Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.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|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 106.4 kB / 15.99 MB, free: 6.359 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.001865/0.001865, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.459/1.459, allocations: 222.9 MB / 240.6 MB, free: 13.67 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.275/2.275, allocations: 390.2 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 61.78 kB / 0.8127 GB, free: 32.43 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2791, allocations: 140.4 MB / 0.9498 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.003138/0.2823, allocations: 1.067 MB / 0.9509 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.2838, allocations: 0.9635 MB / 0.9518 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.2839, allocations: 4 kB / 0.9518 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.666e-05/0.284, allocations: 11.86 kB / 0.9518 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.2842, allocations: 11.86 kB / 0.9518 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.2844, allocations: 59.95 kB / 0.9519 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.2847, allocations: 156.1 kB / 0.952 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.2849, allocations: 96.16 kB / 0.9521 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.2851, allocations: 67.72 kB / 0.9522 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.2852, allocations: 75.67 kB / 0.9523 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.2853, allocations: 16 kB / 0.9523 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.721e-05/0.2853, allocations: 16 kB / 0.9523 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.799e-05/0.2853, allocations: 35.84 kB / 0.9523 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.2855, allocations: 75.59 kB / 0.9524 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.2857, allocations: 159.8 kB / 0.9526 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2857, allocations: 4 kB / 0.9526 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2857, allocations: 0 / 0.9526 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.2857, allocations: 0 / 0.9526 GB, free: 6.332 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007215/0.2864, allocations: 451.1 kB / 0.953 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.2865, allocations: 8.031 kB / 0.953 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.2865, allocations: 16.75 kB / 0.953 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.287, allocations: 264.1 kB / 0.9533 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.287, allocations: 12.66 kB / 0.9533 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.287, allocations: 12.38 kB / 0.9533 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.2874, allocations: 151.9 kB / 0.9534 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2874, allocations: 0 / 0.9534 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.2875, allocations: 7.938 kB / 0.9534 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.2875, allocations: 4 kB / 0.9534 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003399/0.2878, allocations: 116.8 kB / 0.9536 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008131/0.2887, allocations: 480 kB / 0.954 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.289, allocations: 106.6 kB / 0.9541 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.2891, allocations: 48.89 kB / 0.9542 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.2892, allocations: 4 kB / 0.9542 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.2892, allocations: 38.5 kB / 0.9542 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.2892, allocations: 4 kB / 0.9542 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0005623/0.2898, allocations: 161.4 kB / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.2898, allocations: 59.41 kB / 0.9544 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.29, allocations: 151.8 kB / 0.9546 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.29, allocations: 25.7 kB / 0.9546 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.036e-05/0.2901, allocations: 120.2 kB / 0.9547 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.2901, allocations: 35.55 kB / 0.9547 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.2902, allocations: 37.7 kB / 0.9548 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2904, allocations: 326.8 kB / 0.9551 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.2905, allocations: 39.97 kB / 0.9551 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.2907, allocations: 75.33 kB / 0.9552 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.291, allocations: 103.3 kB / 0.9553 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.291, allocations: 4 kB / 0.9553 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003884/0.2914, allocations: 153.3 kB / 0.9554 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2914, allocations: 4 kB / 0.9554 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2914, allocations: 7.984 kB / 0.9555 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.2914, allocations: 0 / 0.9555 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.2916, allocations: 23.98 kB / 0.9555 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.2916, allocations: 0 / 0.9555 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.2918, allocations: 19.98 kB / 0.9555 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.2918, allocations: 15.97 kB / 0.9555 GB, free: 3.062 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.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.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.0001379/0.2919, allocations: 123.6 kB / 0.9556 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.292, allocations: 11.81 kB / 0.9556 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.579e-05/0.292, allocations: 20.7 kB / 0.9557 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.292, allocations: 0 / 0.9557 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.292, allocations: 3.938 kB / 0.9557 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.292, allocations: 0 / 0.9557 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.2923, allocations: 237.5 kB / 0.9559 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2923, allocations: 8 kB / 0.9559 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.2925, allocations: 15.98 kB / 0.9559 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.2925, allocations: 0 / 0.9559 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.2925, allocations: 8 kB / 0.9559 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2925, allocations: 7.875 kB / 0.9559 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2925, allocations: 0 / 0.9559 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/0.293, allocations: 223.3 kB / 0.9561 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.2931, allocations: 92.91 kB / 0.9562 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.2931, allocations: 4 kB / 0.9562 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.2932, allocations: 8 kB / 0.9562 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.2933, allocations: 19.91 kB / 0.9563 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.2933, allocations: 4 kB / 0.9563 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.256e-05/0.2934, allocations: 117.1 kB / 0.9564 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2934, allocations: 0 / 0.9564 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002754/0.2937, allocations: 27.84 kB / 0.9564 GB, free: 2.059 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.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.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.0001303/0.2938, allocations: 111.8 kB / 0.9565 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003694/0.2942, allocations: 111.8 kB / 0.9566 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2942, allocations: 0 / 0.9566 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.2944, allocations: 60.09 kB / 0.9567 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.2947, allocations: 11.98 kB / 0.9567 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006128/0.2953, allocations: 338.4 kB / 0.957 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.2956, allocations: 0.7157 MB / 0.9577 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.086e-05/0.2957, allocations: 19.42 kB / 0.9577 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.2957, allocations: 7.938 kB / 0.9577 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of Templates: time 0.003926/0.2997, allocations: 1.635 MB / 0.9593 GB, free: 15 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches