Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.SeriesFanCVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001236, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 180.4 kB / 16.92 MB, free: 6.918 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.479/1.479, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.704/2.704, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000415/0.0004152, allocations: 11.94 kB / 0.8736 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8057/0.8062, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides): time 0.002025/0.8083, allocations: 1.031 MB / 1.025 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002358/0.8106, allocations: 1.315 MB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/0.8109, allocations: 4 kB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.618e-05/0.811, allocations: 23.72 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.8113, allocations: 23.8 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007895/0.8121, allocations: 200.8 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000501/0.8126, allocations: 348.3 kB / 1.027 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003978/0.813, allocations: 160.9 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.8133, allocations: 115.4 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.8135, allocations: 123.3 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.799e-05/0.8135, allocations: 12 kB / 1.027 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.8137, allocations: 35.97 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.8137, allocations: 43.77 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.8139, allocations: 148.9 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003913/0.8143, allocations: 345 kB / 1.028 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8143, allocations: 0 / 1.028 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8143, allocations: 4 kB / 1.028 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.8144, allocations: 0 / 1.028 GB, free: 11.92 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001278/0.8157, allocations: 0.5982 MB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.8157, allocations: 12.03 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.8159, allocations: 32.56 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009685/0.8168, allocations: 378.1 kB / 1.029 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.776e-05/0.8169, allocations: 24.94 kB / 1.029 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.014e-05/0.817, allocations: 28.38 kB / 1.029 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007211/0.8177, allocations: 320.3 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.8177, allocations: 3.938 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.8178, allocations: 12 kB / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.8178, allocations: 8 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000742/0.8185, allocations: 240.5 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.8201, allocations: 0.9986 MB / 1.03 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/0.8207, allocations: 219.7 kB / 1.03 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/0.821, allocations: 114.6 kB / 1.03 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.175e-05/0.8211, allocations: 8 kB / 1.03 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004668/0.8216, allocations: 189.5 kB / 1.031 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 2.064e-06/0.8216, allocations: 0 / 1.031 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.00111/0.8227, allocations: 341.2 kB / 1.031 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.8228, allocations: 106.8 kB / 1.031 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.823, allocations: 232 kB / 1.031 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.8231, allocations: 33.7 kB / 1.031 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.8232, allocations: 180.2 kB / 1.031 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.105e-05/0.8233, allocations: 59.19 kB / 1.032 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.798e-05/0.8234, allocations: 49.69 kB / 1.032 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.8235, allocations: 334.8 kB / 1.032 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.8239, allocations: 112.1 kB / 1.032 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.8243, allocations: 203.6 kB / 1.032 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007179/0.825, allocations: 308.6 kB / 1.032 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.8251, allocations: 7.938 kB / 1.033 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009579/0.826, allocations: 382.8 kB / 1.033 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.8261, allocations: 39.67 kB / 1.033 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.8261, allocations: 4 kB / 1.033 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.8261, allocations: 4 kB / 1.033 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.8264, allocations: 56.14 kB / 1.033 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/0.8265, allocations: 12 kB / 1.033 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.8268, allocations: 75.62 kB / 1.033 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.8269, allocations: 12 kB / 1.033 GB, free: 5.863 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt3.y,ove.intEqu2.y,ove.y1Fan,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,terFan.y,ove.con1.y,ove.con.y,ove.conInt6.y,ove.conInt5.y,ove.logSwi1.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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.0001845/0.8271, allocations: 159.2 kB / 1.033 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/0.8271, allocations: 23.73 kB / 1.033 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.167e-05/0.8272, allocations: 29.41 kB / 1.033 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.8272, allocations: 0 / 1.033 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.8272, allocations: 4 kB / 1.033 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.8272, allocations: 7.969 kB / 1.033 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.8276, allocations: 313.4 kB / 1.034 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.8276, allocations: 0 / 1.034 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.8278, allocations: 51.89 kB / 1.034 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.8279, allocations: 7.938 kB / 1.034 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.8279, allocations: 0 / 1.034 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.8279, allocations: 4.625 kB / 1.034 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.8279, allocations: 3.938 kB / 1.034 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007321/0.8286, allocations: 290.4 kB / 1.034 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.608e-05/0.8287, allocations: 108.8 kB / 1.034 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.8288, allocations: 7.938 kB / 1.034 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.8289, allocations: 23.97 kB / 1.034 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.8291, allocations: 31.95 kB / 1.034 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.8291, allocations: 12 kB / 1.034 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001481/0.8293, allocations: 145.6 kB / 1.034 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8293, allocations: 0 / 1.034 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003502/0.8296, allocations: 63.84 kB / 1.034 GB, free: 4.504 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,ove.y1Fan,ove.intEqu2.y,reaToInt3.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002209/0.8298, allocations: 119.2 kB / 1.034 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008952/0.8307, allocations: 331.6 kB / 1.035 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.443e-06/0.8308, allocations: 0 / 1.035 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003583/0.8311, allocations: 111.9 kB / 1.035 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.8315, allocations: 53.73 kB / 1.035 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.8326, allocations: 0.575 MB / 1.035 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.833, allocations: 0.7599 MB / 1.036 GB, free: 2.484 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.8331, allocations: 27.42 kB / 1.036 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of SimCode: time 5.71e-07/0.8331, allocations: 0 / 1.036 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of Templates: time 0.007682/0.8408, allocations: 3.341 MB / 1.039 GB, free: 15.14 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches