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.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: "" <> 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.0008807/0.0008807, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.00507/0.00507, allocations: 173.2 kB / 16.26 MB, free: 6.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.174/1.174, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.382/2.382, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002955, allocations: 8.5 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2168, allocations: 159.6 MB / 1.059 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides): time 0.001676/0.2185, allocations: 1.41 MB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.2195, allocations: 1.135 MB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.2197, allocations: 8 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.005e-05/0.2197, allocations: 27.66 kB / 1.061 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.2199, allocations: 39.66 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.2201, allocations: 159.9 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.2205, allocations: 476.9 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003146/0.2208, allocations: 260.7 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.2209, allocations: 139.3 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.2211, allocations: 170.9 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.2211, allocations: 16 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.962e-05/0.2212, allocations: 16 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.2212, allocations: 67.62 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.2213, allocations: 208.4 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000402/0.2218, allocations: 0.6189 MB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2218, allocations: 0 / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2218, allocations: 0 / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.2218, allocations: 4 kB / 1.063 GB, free: 56 kB / 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.001008/0.2228, allocations: 0.698 MB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.2228, allocations: 11.97 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.82e-05/0.2229, allocations: 86.7 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.756e-05/0.223, allocations: 52.28 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.224, allocations: 0.5273 MB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.2241, allocations: 37.38 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.2241, allocations: 40.38 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009444/0.2251, allocations: 0.5376 MB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2251, allocations: 3.938 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.2251, allocations: 16 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.2252, allocations: 12 kB / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.2263, allocations: 473.9 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.2277, allocations: 1.255 MB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008539/0.2285, allocations: 435.8 kB / 1.068 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005625/0.2291, allocations: 250.4 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.2291, allocations: 8 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.2292, allocations: 42.55 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 1.433e-06/0.2292, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.001696/0.2309, allocations: 0.6505 MB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.2309, allocations: 110.8 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.2311, allocations: 282.7 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.2312, allocations: 33.7 kB / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.2313, allocations: 216.2 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.516e-05/0.2314, allocations: 118.4 kB / 1.069 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.2314, allocations: 61.69 kB / 1.069 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.497e-05/0.2315, allocations: 342.8 kB / 1.07 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/0.2321, allocations: 192.7 kB / 1.07 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.2326, allocations: 285.5 kB / 1.07 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.2336, allocations: 439.2 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2337, allocations: 4 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001157/0.2348, allocations: 0.5138 MB / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.2348, allocations: 4 kB / 1.071 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2348, allocations: 4 kB / 1.071 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2349, allocations: 7.938 kB / 1.071 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.2353, allocations: 108.1 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.2353, allocations: 4 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.2356, allocations: 79.62 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.2356, allocations: 19.94 kB / 1.071 GB, free: 7.809 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.0001673/0.2358, allocations: 179.2 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.84e-05/0.2359, allocations: 31.62 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.877e-05/0.236, allocations: 42.2 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.236, allocations: 11.94 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.236, allocations: 4 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.236, allocations: 3.984 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/0.2365, allocations: 461 kB / 1.072 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2365, allocations: 0 / 1.072 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/0.2369, allocations: 99.86 kB / 1.072 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2369, allocations: 4 kB / 1.072 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.2369, allocations: 11.98 kB / 1.072 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2369, allocations: 3.938 kB / 1.072 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2369, allocations: 0 / 1.072 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.2381, allocations: 0.7119 MB / 1.073 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.2382, allocations: 108.6 kB / 1.073 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.2382, allocations: 15.98 kB / 1.073 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.2386, allocations: 51.89 kB / 1.073 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.2387, allocations: 59.92 kB / 1.073 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.2387, allocations: 12 kB / 1.073 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001201/0.2388, allocations: 182 kB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2388, allocations: 0 / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003645/0.2392, allocations: 91.59 kB / 1.073 GB, free: 5.656 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.001414/0.2406, allocations: 1.274 MB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.2417, allocations: 467.7 kB / 1.075 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2418, allocations: 0 / 1.075 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006001/0.2424, allocations: 261.8 kB / 1.075 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.2429, allocations: 52.81 kB / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004912/0.2478, allocations: 3.767 MB / 1.079 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.2481, allocations: 0.8118 MB / 1.08 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002362/0.2483, allocations: 59.25 kB / 1.08 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.2485, allocations: 155.4 kB / 1.08 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.2485, allocations: 0 / 1.08 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.177/5.426, allocations: 6.221 MB / 1.086 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003094/5.426, allocations: 275.8 kB / 1.086 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/7.45, allocations: 0 / 1.086 GB, free: 8.285 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