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.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.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.00116/0.00116, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001407/0.001408, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.2 MB / 239.9 MB, free: 5.23 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.381/2.381, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003694, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6251/0.6255, allocations: 142.3 MB / 0.9536 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.00121/0.6267, allocations: 0.6688 MB / 0.9542 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.6278, allocations: 0.9554 MB / 0.9552 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.396e-05/0.6278, allocations: 2 kB / 0.9552 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.6279, allocations: 15.86 kB / 0.9552 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.835e-05/0.628, allocations: 15.17 kB / 0.9552 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.6281, allocations: 45.11 kB / 0.9552 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.6283, allocations: 92.95 kB / 0.9553 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.6284, allocations: 54.44 kB / 0.9554 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.6286, allocations: 51.83 kB / 0.9554 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.496e-05/0.6287, allocations: 53.8 kB / 0.9555 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.6287, allocations: 3.938 kB / 0.9555 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.888e-05/0.6287, allocations: 8.562 kB / 0.9555 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/0.6288, allocations: 19.66 kB / 0.9555 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.6288, allocations: 44.42 kB / 0.9555 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.629, allocations: 151.5 kB / 0.9557 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.629, allocations: 0 / 0.9557 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.894e-06/0.629, allocations: 1.188 kB / 0.9557 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.629, allocations: 0 / 0.9557 GB, free: 6.344 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.0005845/0.6296, allocations: 431.5 kB / 0.9561 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.6296, allocations: 13 kB / 0.9561 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.6297, allocations: 23.36 kB / 0.9561 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.6301, allocations: 256 kB / 0.9564 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.6301, allocations: 10.5 kB / 0.9564 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.6302, allocations: 16.28 kB / 0.9564 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.6305, allocations: 140.9 kB / 0.9565 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.6305, allocations: 1.188 kB / 0.9565 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.6305, allocations: 9.141 kB / 0.9565 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.6305, allocations: 7.531 kB / 0.9566 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.6309, allocations: 123.3 kB / 0.9567 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.6315, allocations: 473.7 kB / 0.9571 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.6317, allocations: 110.9 kB / 0.9572 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.6318, allocations: 1.188 kB / 0.9572 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.6318, allocations: 36.81 kB / 0.9573 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.6318, allocations: 0 / 0.9573 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005443/0.6324, allocations: 187.3 kB / 0.9574 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.6324, allocations: 60.55 kB / 0.9575 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.6325, allocations: 148.4 kB / 0.9576 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.6325, allocations: 30.69 kB / 0.9577 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.6326, allocations: 127 kB / 0.9578 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.6326, allocations: 27.69 kB / 0.9578 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.956e-06/0.6326, allocations: 5.094 kB / 0.9578 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.266e-05/0.6327, allocations: 321.3 kB / 0.9581 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.6328, allocations: 44.12 kB / 0.9582 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.633, allocations: 79.67 kB / 0.9582 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.6331, allocations: 56.78 kB / 0.9583 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6331, allocations: 3.938 kB / 0.9583 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000342/0.6335, allocations: 149.8 kB / 0.9584 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.6335, allocations: 10.53 kB / 0.9585 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.6335, allocations: 0.875 kB / 0.9585 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.6335, allocations: 6.484 kB / 0.9585 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.6337, allocations: 28.67 kB / 0.9585 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.6337, allocations: 14.73 kB / 0.9585 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.644e-05/0.6338, allocations: 12.72 kB / 0.9585 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.6339, allocations: 7.797 kB / 0.9585 GB, free: 3.926 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 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.529e-05/0.6339, allocations: 136.2 kB / 0.9587 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.634, allocations: 8.312 kB / 0.9587 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.634, allocations: 15.25 kB / 0.9587 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.634, allocations: 1.219 kB / 0.9587 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.634, allocations: 7.891 kB / 0.9587 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.6341, allocations: 1.344 kB / 0.9587 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.6342, allocations: 228.6 kB / 0.9589 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.6343, allocations: 1.062 kB / 0.9589 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.6344, allocations: 28.27 kB / 0.9589 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.6344, allocations: 4.906 kB / 0.9589 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.6344, allocations: 5.047 kB / 0.9589 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.6344, allocations: 5.188 kB / 0.959 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6344, allocations: 0 / 0.959 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.6348, allocations: 239.8 kB / 0.9592 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.6348, allocations: 84.45 kB / 0.9593 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.6348, allocations: 1.156 kB / 0.9593 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.635, allocations: 11.39 kB / 0.9593 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.635, allocations: 22.33 kB / 0.9593 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.6351, allocations: 7.203 kB / 0.9593 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.008e-05/0.6351, allocations: 115 kB / 0.9594 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6351, allocations: 0 / 0.9594 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002473/0.6354, allocations: 29.62 kB / 0.9594 GB, free: 3.094 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001181/0.6355, allocations: 109.1 kB / 0.9595 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003402/0.6358, allocations: 121 kB / 0.9597 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6358, allocations: 0 / 0.9597 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.636, allocations: 66.48 kB / 0.9597 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.6362, allocations: 9.188 kB / 0.9597 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.6367, allocations: 307.3 kB / 0.96 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.6368, allocations: 0.7195 MB / 0.9607 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.196e-05/0.6369, allocations: 20.88 kB / 0.9607 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.637, allocations: 19.69 kB / 0.9608 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.637, allocations: 0 / 0.9608 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of Templates: time 0.003332/0.6403, allocations: 1.034 MB / 0.9618 GB, free: 1.438 MB / 0.7169 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","../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