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.001643/0.001643, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.001912/0.001912, allocations: 187 kB / 17.34 MB, free: 5.742 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.14 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.301/2.301, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.89 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9114/0.9127, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002585/0.9153, allocations: 1.014 MB / 1.09 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.9166, allocations: 0.9611 MB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.076e-05/0.9167, allocations: 5.969 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.131e-05/0.9168, allocations: 14.62 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.9169, allocations: 25.17 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.9171, allocations: 64.14 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.9174, allocations: 158 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/0.9176, allocations: 90.23 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.9178, allocations: 68.64 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.9179, allocations: 71.16 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.9179, allocations: 20.78 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.041e-05/0.918, allocations: 15.84 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.783e-05/0.918, allocations: 34.28 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.067e-05/0.9181, allocations: 75.7 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.9184, allocations: 205.6 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.9184, allocations: 0.9375 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9184, allocations: 0 / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.9184, allocations: 0 / 1.091 GB, free: 3.656 MB / 0.8575 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.0006201/0.9191, allocations: 438.5 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.9191, allocations: 9.781 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.9192, allocations: 17.06 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.9196, allocations: 263.8 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.9196, allocations: 9.969 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.9196, allocations: 13.31 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.92, allocations: 145.5 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.92, allocations: 0.8438 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.92, allocations: 5.828 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.92, allocations: 7.625 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003694/0.9204, allocations: 110.2 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007239/0.9211, allocations: 465.5 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.9214, allocations: 108.2 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.9216, allocations: 51.23 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.9216, allocations: 0.8438 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.9217, allocations: 32.12 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.9217, allocations: 0.625 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005547/0.9222, allocations: 173 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.9223, allocations: 53.89 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.9224, allocations: 157.2 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.9224, allocations: 26.48 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.9225, allocations: 123.3 kB / 1.094 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.9225, allocations: 29.7 kB / 1.094 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.9226, allocations: 43.22 kB / 1.094 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.223e-05/0.9227, allocations: 332.4 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.9228, allocations: 39.73 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.923, allocations: 70.33 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.9233, allocations: 106.9 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.9233, allocations: 0.75 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003708/0.9237, allocations: 151.1 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.9237, allocations: 14.73 kB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.9237, allocations: 0.8438 kB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.9237, allocations: 1.812 kB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.9239, allocations: 24.03 kB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.9239, allocations: 2.391 kB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.654e-05/0.924, allocations: 18.48 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.924, allocations: 8.797 kB / 1.094 GB, free: 1.422 MB / 0.8575 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 8.754e-05/0.9241, allocations: 131.7 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.9242, allocations: 12.98 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.9242, allocations: 21.16 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.9242, allocations: 4.859 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.9242, allocations: 0.7812 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.9242, allocations: 0.75 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.9245, allocations: 232.2 kB / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.9245, allocations: 0 / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.9246, allocations: 19.95 kB / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.9246, allocations: 5.219 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.9246, allocations: 1.844 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.9246, allocations: 0 / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9246, allocations: 1.625 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.925, allocations: 232.5 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.635e-05/0.9251, allocations: 92.86 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.9251, allocations: 5.438 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.9252, allocations: 13.03 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/0.9253, allocations: 15.59 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.9253, allocations: 2.891 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.305e-05/0.9254, allocations: 113.3 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9254, allocations: 0.7812 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002493/0.9257, allocations: 21.06 kB / 1.095 GB, free: 0.6641 MB / 0.8575 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.0001356/0.9258, allocations: 115 kB / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003803/0.9262, allocations: 109.1 kB / 1.095 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9262, allocations: 0 / 1.095 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.9264, allocations: 58.23 kB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.9267, allocations: 14.94 kB / 1.095 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005532/0.9273, allocations: 295.3 kB / 1.096 GB, free: 296 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.9276, allocations: 0.71 MB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.178e-05/0.9277, allocations: 18.47 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.9277, allocations: 0 / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of Templates: time 0.00436/0.932, allocations: 1.664 MB / 1.098 GB, free: 15.42 MB / 0.8731 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