Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003748/0.003748, allocations: 95.7 kB / 15.73 MB, free: 6.039 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.001057/0.001057, allocations: 203.6 kB / 16.68 MB, free: 5.969 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.529/2.529, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 67.89 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2493, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides): time 0.002717/0.2521, allocations: 1.751 MB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.2534, allocations: 1.159 MB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.2535, allocations: 12 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.2536, allocations: 51.33 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.2538, allocations: 55.34 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.2541, allocations: 187.7 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000433/0.2545, allocations: 0.497 MB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000407/0.2549, allocations: 284.7 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.2551, allocations: 199.3 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.2554, allocations: 242.9 kB / 1.225 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.525e-05/0.2554, allocations: 56 kB / 1.225 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.569e-05/0.2555, allocations: 60 kB / 1.225 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.2556, allocations: 127.5 kB / 1.225 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.2558, allocations: 242.7 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005857/0.2564, allocations: 0.6962 MB / 1.226 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.2564, allocations: 0 / 1.226 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2564, allocations: 0 / 1.226 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.2564, allocations: 0 / 1.226 GB, free: 8.648 MB / 0.9825 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.001202/0.2576, allocations: 0.7791 MB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.2577, allocations: 12.03 kB / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.852e-05/0.2578, allocations: 82.7 kB / 1.227 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.527e-05/0.2578, allocations: 64.5 kB / 1.227 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.2589, allocations: 496.1 kB / 1.227 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.259, allocations: 37.38 kB / 1.227 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.245e-05/0.259, allocations: 40.38 kB / 1.227 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009822/0.26, allocations: 0.5064 MB / 1.228 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.26, allocations: 3.938 kB / 1.228 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.2601, allocations: 20 kB / 1.228 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.2601, allocations: 15.98 kB / 1.228 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.2612, allocations: 426.4 kB / 1.228 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.2628, allocations: 1.232 MB / 1.229 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008817/0.2636, allocations: 407.6 kB / 1.23 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005639/0.2642, allocations: 236.5 kB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.2643, allocations: 7.984 kB / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.2643, allocations: 42.56 kB / 1.23 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=41): time 1.493e-06/0.2643, allocations: 0 / 1.23 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=41): time 0.001709/0.266, allocations: 0.5718 MB / 1.23 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.2661, allocations: 118.8 kB / 1.231 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.2664, allocations: 286.8 kB / 1.231 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.2664, allocations: 33.7 kB / 1.231 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.2665, allocations: 224.7 kB / 1.231 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.362e-05/0.2666, allocations: 119 kB / 1.231 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.2668, allocations: 94.11 kB / 1.231 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2669, allocations: 346.8 kB / 1.232 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/0.2674, allocations: 168.7 kB / 1.232 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005705/0.268, allocations: 253.7 kB / 1.232 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.269, allocations: 386.5 kB / 1.232 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.2691, allocations: 4 kB / 1.232 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001177/0.2702, allocations: 467.2 kB / 1.233 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.2703, allocations: 12 kB / 1.233 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2703, allocations: 4 kB / 1.233 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2703, allocations: 7.938 kB / 1.233 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004368/0.2707, allocations: 99.8 kB / 1.233 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.2708, allocations: 4 kB / 1.233 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.2711, allocations: 67.67 kB / 1.233 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.2711, allocations: 16 kB / 1.233 GB, free: 0.6953 MB / 0.9825 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.0001954/0.2713, allocations: 174.8 kB / 1.233 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.322e-05/0.2714, allocations: 31.75 kB / 1.233 GB, free: 496 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.059e-05/0.2715, allocations: 42.2 kB / 1.233 GB, free: 448 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.2715, allocations: 11.88 kB / 1.233 GB, free: 436 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2715, allocations: 8 kB / 1.233 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.2715, allocations: 3.984 kB / 1.233 GB, free: 424 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005655/0.2721, allocations: 457.1 kB / 1.234 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2721, allocations: 4 kB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003809/0.2725, allocations: 79.86 kB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.2725, allocations: 4 kB / 1.234 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.2725, allocations: 15.98 kB / 1.234 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.2725, allocations: 3.938 kB / 1.234 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2725, allocations: 8 kB / 1.234 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.2737, allocations: 0.6652 MB / 1.235 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.576e-05/0.2738, allocations: 112.8 kB / 1.235 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.2739, allocations: 12 kB / 1.235 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.2742, allocations: 43.89 kB / 1.235 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.2743, allocations: 55.94 kB / 1.235 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.2744, allocations: 15.98 kB / 1.235 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001411/0.2745, allocations: 174 kB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2745, allocations: 0 / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003885/0.2749, allocations: 95.67 kB / 1.235 GB, free: 14.61 MB / 0.9981 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.001524/0.2764, allocations: 1.235 MB / 1.236 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.2776, allocations: 425.8 kB / 1.237 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2776, allocations: 0.5 kB / 1.237 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006221/0.2782, allocations: 243.6 kB / 1.237 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.2787, allocations: 48.86 kB / 1.237 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005102/0.2838, allocations: 3.476 MB / 1.24 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.2842, allocations: 0.827 MB / 1.241 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002015/0.2844, allocations: 55.27 kB / 1.241 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.2847, allocations: 159.4 kB / 1.241 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.2847, allocations: 4 kB / 1.241 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.87/2.155, allocations: 6.989 MB / 1.248 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/13.58, allocations: 14.53 kB / 1.248 GB, free: 1.18 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches