Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_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.001278/0.001278, allocations: 108 kB / 15.61 MB, free: 152 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.001254/0.001254, allocations: 195.3 kB / 16.53 MB, free: 6.699 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.216/1.216, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.377/2.377, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 66.41 kB / 0.8993 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.236, allocations: 157.4 MB / 1.053 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides): time 0.002928/0.239, allocations: 1.76 MB / 1.055 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.2404, allocations: 1.163 MB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.2406, allocations: 4 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.2408, allocations: 55.27 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.2409, allocations: 51.34 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.2413, allocations: 191.7 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004463/0.2417, allocations: 0.4971 MB / 1.057 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003903/0.2421, allocations: 280.7 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.2424, allocations: 215.1 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.2426, allocations: 238.9 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.194e-05/0.2427, allocations: 56 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.758e-05/0.2428, allocations: 59.94 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.639e-05/0.2429, allocations: 119.7 kB / 1.058 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.2431, allocations: 242.7 kB / 1.058 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005354/0.2436, allocations: 0.6659 MB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2436, allocations: 3.938 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2436, allocations: 0 / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.2436, allocations: 0 / 1.058 GB, free: 2.609 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.001255/0.2449, allocations: 0.7564 MB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2449, allocations: 12.61 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.476e-05/0.245, allocations: 86.72 kB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.89e-05/0.2451, allocations: 52.28 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.2462, allocations: 495.9 kB / 1.06 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.726e-05/0.2463, allocations: 37.38 kB / 1.06 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-05/0.2463, allocations: 52.38 kB / 1.06 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009684/0.2473, allocations: 0.4908 MB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.2473, allocations: 3.938 kB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.2474, allocations: 24 kB / 1.06 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.2474, allocations: 12 kB / 1.06 GB, free: 500 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.2486, allocations: 425.9 kB / 1.061 GB, free: 72 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.2501, allocations: 1.259 MB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000889/0.251, allocations: 415.6 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005534/0.2516, allocations: 220 kB / 1.063 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.553e-05/0.2517, allocations: 12.02 kB / 1.063 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.2517, allocations: 38.56 kB / 1.063 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 2.976e-06/0.2517, allocations: 4 kB / 1.063 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.001729/0.2534, allocations: 0.5695 MB / 1.063 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.2535, allocations: 106.8 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.2537, allocations: 286.7 kB / 1.064 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.2538, allocations: 29.7 kB / 1.064 GB, free: 13 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.2539, allocations: 228.2 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.077e-05/0.254, allocations: 114.4 kB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.2541, allocations: 98.11 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2542, allocations: 342.8 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000522/0.2548, allocations: 160.7 kB / 1.065 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000556/0.2553, allocations: 253.6 kB / 1.065 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.2564, allocations: 402.9 kB / 1.065 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2564, allocations: 0 / 1.065 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001204/0.2576, allocations: 464.7 kB / 1.066 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.2576, allocations: 11.98 kB / 1.066 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2576, allocations: 0 / 1.066 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.2577, allocations: 12.19 kB / 1.066 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004505/0.2581, allocations: 95.8 kB / 1.066 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.2581, allocations: 4 kB / 1.066 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/0.2584, allocations: 71.48 kB / 1.066 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.2585, allocations: 19.98 kB / 1.066 GB, free: 10.68 MB / 0.8262 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.0002014/0.2587, allocations: 169.8 kB / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.906e-05/0.2588, allocations: 31.62 kB / 1.066 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.625e-05/0.2589, allocations: 46.14 kB / 1.066 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.2589, allocations: 7.938 kB / 1.066 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2589, allocations: 3.938 kB / 1.066 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.2589, allocations: 3.984 kB / 1.066 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000536/0.2594, allocations: 461.1 kB / 1.066 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2594, allocations: 0 / 1.066 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/0.2599, allocations: 87.86 kB / 1.067 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.2599, allocations: 4 kB / 1.067 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.2599, allocations: 7.984 kB / 1.067 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.2599, allocations: 7.938 kB / 1.067 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2599, allocations: 0 / 1.067 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.2611, allocations: 0.6574 MB / 1.067 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.564e-05/0.2612, allocations: 112.6 kB / 1.067 GB, free: 9 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.2612, allocations: 11.94 kB / 1.067 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.2616, allocations: 43.88 kB / 1.067 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.2617, allocations: 59.94 kB / 1.067 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.2618, allocations: 12 kB / 1.067 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001359/0.2619, allocations: 182 kB / 1.068 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2619, allocations: 0 / 1.068 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003999/0.2623, allocations: 87.59 kB / 1.068 GB, free: 8.617 MB / 0.8262 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.001479/0.2638, allocations: 1.226 MB / 1.069 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.265, allocations: 437.2 kB / 1.069 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.265, allocations: 0 / 1.069 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006048/0.2656, allocations: 248.1 kB / 1.07 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/0.2661, allocations: 48.81 kB / 1.07 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005056/0.2712, allocations: 3.478 MB / 1.073 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.2716, allocations: 0.8115 MB / 1.074 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002456/0.2718, allocations: 63.25 kB / 1.074 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.2721, allocations: 159.4 kB / 1.074 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2721, allocations: 0 / 1.074 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.226/1.498, allocations: 6.933 MB / 1.081 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.123/10.62, allocations: 25.28 kB / 1.081 GB, free: 11.22 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches