Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SeriesFanVVF.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 103.4 kB / 16.27 MB, free: 5.965 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.001341/0.001341, allocations: 191 kB / 17.2 MB, free: 5.59 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.393/1.393, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.548/2.548, allocations: 437 MB / 0.711 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001526, allocations: 67.98 kB / 0.8699 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3257, allocations: 151.6 MB / 1.018 GB, free: 10.55 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002729/0.3285, allocations: 1.003 MB / 1.019 GB, free: 9.547 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.3299, allocations: 0.9713 MB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.33, allocations: 4 kB / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.305e-05/0.3301, allocations: 15.8 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.3303, allocations: 19.73 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.3305, allocations: 63.92 kB / 1.02 GB, free: 8.461 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.3307, allocations: 155.6 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.331, allocations: 88.17 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.3312, allocations: 63.72 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.3313, allocations: 71.69 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.3313, allocations: 16 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.547e-05/0.3314, allocations: 16 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.786e-05/0.3314, allocations: 47.77 kB / 1.02 GB, free: 8.008 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.668e-05/0.3315, allocations: 67.55 kB / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.3318, allocations: 203.6 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3318, allocations: 0 / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3318, allocations: 0 / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.3318, allocations: 4 kB / 1.021 GB, free: 7.738 MB / 0.795 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.0007434/0.3326, allocations: 443.1 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3326, allocations: 8.922 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.3327, allocations: 16.75 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000497/0.3332, allocations: 265.9 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.3332, allocations: 8.656 kB / 1.021 GB, free: 6.922 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3333, allocations: 12.38 kB / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.3336, allocations: 145 kB / 1.022 GB, free: 6.766 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3336, allocations: 192 / 1.022 GB, free: 6.766 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.3337, allocations: 7.938 kB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3337, allocations: 4 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.334, allocations: 116.8 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007006/0.3347, allocations: 472 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.3351, allocations: 110.6 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.3352, allocations: 48.86 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.3352, allocations: 4 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.3353, allocations: 34.5 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.3353, allocations: 4 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0005923/0.3359, allocations: 173.4 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.3359, allocations: 51.41 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.3361, allocations: 152.4 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.3361, allocations: 29.7 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.3362, allocations: 115.8 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.3362, allocations: 39.53 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.3363, allocations: 33.7 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3364, allocations: 326.8 kB / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.3366, allocations: 43.97 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.3368, allocations: 75.27 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.3371, allocations: 103.4 kB / 1.023 GB, free: 4.711 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3371, allocations: 0 / 1.023 GB, free: 4.711 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003884/0.3375, allocations: 149.4 kB / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3375, allocations: 8 kB / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3376, allocations: 0 / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3376, allocations: 0 / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.3378, allocations: 27.97 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3378, allocations: 7.875 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.3379, allocations: 23.92 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.3379, allocations: 8 kB / 1.024 GB, free: 4.484 MB / 0.795 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.0001273/0.338, allocations: 133.7 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/0.3381, allocations: 11.91 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.3381, allocations: 12.7 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3381, allocations: 0 / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3381, allocations: 4 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3381, allocations: 0 / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.3384, allocations: 233.4 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3384, allocations: 4 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.3386, allocations: 23.97 kB / 1.024 GB, free: 4.012 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3386, allocations: 0 / 1.024 GB, free: 4.012 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.3386, allocations: 4 kB / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3386, allocations: 0 / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3386, allocations: 3.938 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.339, allocations: 227.3 kB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.3391, allocations: 85.02 kB / 1.024 GB, free: 3.664 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.3391, allocations: 4 kB / 1.024 GB, free: 3.66 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.3392, allocations: 15.97 kB / 1.024 GB, free: 3.645 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.3393, allocations: 11.98 kB / 1.024 GB, free: 3.633 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.3393, allocations: 11.98 kB / 1.024 GB, free: 3.621 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.622e-05/0.3394, allocations: 109.6 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3394, allocations: 0 / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002687/0.3397, allocations: 31.84 kB / 1.025 GB, free: 3.484 MB / 0.795 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.0001434/0.3399, allocations: 111.2 kB / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003953/0.3403, allocations: 112.5 kB / 1.025 GB, free: 3.258 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3403, allocations: 0 / 1.025 GB, free: 3.258 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.3405, allocations: 56.31 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.3408, allocations: 18.23 kB / 1.025 GB, free: 3.188 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006139/0.3414, allocations: 294.3 kB / 1.025 GB, free: 2.867 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.3417, allocations: 0.7084 MB / 1.026 GB, free: 2.133 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.034e-05/0.3418, allocations: 23.44 kB / 1.026 GB, free: 2.109 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/0.3418, allocations: 4 kB / 1.026 GB, free: 2.105 MB / 0.795 GB Notification: Performance of Templates: time 0.003623/0.3454, allocations: 1.645 MB / 1.027 GB, free: 480 kB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches