Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.DualDuctSnapActing.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveFloSet|ove.VActSet_flow|ove.VMin_flow|ove.VCooMax_flow|ove.VSet_flow|ove.oveCooDamPos|ove.uCooDam|ove.yCooDam|ove.oveHeaDamPos|ove.uHeaDam|ove.yHeaDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveFloSet|ove.VActSet_flow|ove.VMin_flow|ove.VCooMax_flow|ove.VSet_flow|ove.oveCooDamPos|ove.uCooDam|ove.yCooDam|ove.oveHeaDamPos|ove.uHeaDam|ove.yHeaDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 119.2 kB / 16.37 MB, free: 6.012 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.001863/0.001864, allocations: 190.4 kB / 17.31 MB, free: 5.613 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.529/2.529, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 60.06 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3223, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.002967/0.3253, allocations: 1.763 MB / 1.029 GB, free: 272 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.3268, allocations: 1.159 MB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.3269, allocations: 7.938 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.327, allocations: 51.33 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.3272, allocations: 63.34 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.3276, allocations: 183.7 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004181/0.328, allocations: 0.5009 MB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004118/0.3284, allocations: 284.7 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.3286, allocations: 199.2 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.3289, allocations: 242.8 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.76e-05/0.3289, allocations: 60 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.301e-05/0.329, allocations: 56 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.3291, allocations: 127.6 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.3293, allocations: 238.7 kB / 1.032 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005401/0.3299, allocations: 0.6914 MB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3299, allocations: 3.984 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3299, allocations: 0 / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.3299, allocations: 4 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.00126/0.3312, allocations: 0.7563 MB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3312, allocations: 8.031 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.48e-05/0.3313, allocations: 56.22 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.3324, allocations: 487.9 kB / 1.034 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/0.3325, allocations: 41.38 kB / 1.034 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.11e-05/0.3325, allocations: 52.31 kB / 1.034 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009778/0.3335, allocations: 0.4947 MB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3335, allocations: 4.188 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.276e-05/0.3336, allocations: 31.92 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.3336, allocations: 11.94 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.3348, allocations: 429.9 kB / 1.035 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.3364, allocations: 1.235 MB / 1.036 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000928/0.3374, allocations: 411.8 kB / 1.036 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005655/0.338, allocations: 218.4 kB / 1.036 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.059e-05/0.338, allocations: 8 kB / 1.036 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.3381, allocations: 46.48 kB / 1.036 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=41): time 1.894e-06/0.3381, allocations: 0 / 1.036 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of matching and sorting (n=41): time 0.001717/0.3398, allocations: 0.5768 MB / 1.037 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.3399, allocations: 110.8 kB / 1.037 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.3401, allocations: 278.7 kB / 1.037 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.3402, allocations: 33.7 kB / 1.037 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.3403, allocations: 220.2 kB / 1.038 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.604e-05/0.3404, allocations: 118.3 kB / 1.038 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.3405, allocations: 102.1 kB / 1.038 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3407, allocations: 342.8 kB / 1.038 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005076/0.3412, allocations: 156.7 kB / 1.038 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000545/0.3417, allocations: 253.6 kB / 1.039 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.3428, allocations: 403.2 kB / 1.039 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3428, allocations: 0 / 1.039 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00116/0.3439, allocations: 469.3 kB / 1.039 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.344, allocations: 8 kB / 1.039 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.344, allocations: 0 / 1.039 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.344, allocations: 8 kB / 1.039 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/0.3445, allocations: 100 kB / 1.039 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3445, allocations: 7.938 kB / 1.039 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.3448, allocations: 67.55 kB / 1.04 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.3448, allocations: 19.98 kB / 1.04 GB, free: 4.594 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 24 (reaToInt2.y,ove.or5.y,ove.or1.y,ove.forMinFlo1.y,ove.or3.y,ove.forMinFlo.y,ove.forCooMax.y,ove.forZerFlo.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,reaToInt3.y,ove.or4.y,ove.intEqu2.y,ove.intEqu1.y,ove.conInt7.y,ove.conInt6.y,ove.conInt4.y,ove.conInt3.y,ove.conInt5.y,ove.conInt2.y,ove.conInt1.y,ove.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.00023/0.3451, allocations: 177.7 kB / 1.04 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-05/0.3452, allocations: 31.62 kB / 1.04 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.45e-05/0.3453, allocations: 42.2 kB / 1.04 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.3453, allocations: 7.938 kB / 1.04 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3453, allocations: 0 / 1.04 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.3453, allocations: 4 kB / 1.04 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005739/0.3459, allocations: 457.1 kB / 1.04 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3459, allocations: 0 / 1.04 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/0.3463, allocations: 87.86 kB / 1.04 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.3463, allocations: 4 kB / 1.04 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.3464, allocations: 11.88 kB / 1.04 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.3464, allocations: 7.938 kB / 1.04 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3464, allocations: 0 / 1.04 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.3476, allocations: 0.6712 MB / 1.041 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.748e-05/0.3477, allocations: 108.6 kB / 1.041 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.3477, allocations: 8 kB / 1.041 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.3481, allocations: 39.89 kB / 1.041 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.3482, allocations: 67.91 kB / 1.041 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.3483, allocations: 8 kB / 1.041 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001432/0.3484, allocations: 189.9 kB / 1.041 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3484, allocations: 0 / 1.041 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004273/0.3488, allocations: 91.59 kB / 1.041 GB, free: 2.512 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,ove.or5.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.0001519/0.349, allocations: 112.7 kB / 1.042 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.3501, allocations: 416 kB / 1.042 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3502, allocations: 7.938 kB / 1.042 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006177/0.3508, allocations: 239.6 kB / 1.042 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005428/0.3513, allocations: 52.88 kB / 1.042 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.3524, allocations: 0.6703 MB / 1.043 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.3528, allocations: 0.8232 MB / 1.044 GB, free: 128 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002078/0.353, allocations: 51.27 kB / 1.044 GB, free: 80 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.3531, allocations: 43.42 kB / 1.044 GB, free: 36 kB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3531, allocations: 0 / 1.044 GB, free: 36 kB / 0.8106 GB Notification: Performance of Templates: time 0.009955/0.3631, allocations: 3.915 MB / 1.048 GB, free: 12.19 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches