Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_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.006932/0.006932, allocations: 102 kB / 15.73 MB, free: 6.035 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.001683/0.001683, allocations: 187.9 kB / 16.67 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.419/2.419, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.91 kB / 1.054 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2594, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.002936/0.2623, allocations: 1.759 MB / 1.209 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.2639, allocations: 1.159 MB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.2641, allocations: 8 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.2643, allocations: 51.33 kB / 1.21 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.2645, allocations: 55.34 kB / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.2649, allocations: 183.7 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004727/0.2654, allocations: 0.5009 MB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004024/0.2658, allocations: 284.7 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.266, allocations: 199.3 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.2663, allocations: 242.9 kB / 1.212 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.774e-05/0.2664, allocations: 56 kB / 1.212 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.29e-05/0.2665, allocations: 60 kB / 1.212 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.2666, allocations: 127.5 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.2668, allocations: 246.7 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006463/0.2675, allocations: 0.6968 MB / 1.213 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2675, allocations: 0 / 1.213 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2675, allocations: 0 / 1.213 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.505e-05/0.2675, allocations: 0 / 1.213 GB, free: 4.492 MB / 0.9669 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.001451/0.269, allocations: 0.7602 MB / 1.214 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.269, allocations: 12.62 kB / 1.214 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.842e-05/0.2691, allocations: 86.64 kB / 1.214 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.935e-05/0.2692, allocations: 56.28 kB / 1.214 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.2704, allocations: 491.9 kB / 1.214 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/0.2705, allocations: 37.38 kB / 1.214 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.2705, allocations: 40.38 kB / 1.214 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.2716, allocations: 0.5025 MB / 1.215 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.2716, allocations: 7.922 kB / 1.215 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.95e-05/0.2716, allocations: 20 kB / 1.215 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.2717, allocations: 15.94 kB / 1.215 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.2729, allocations: 421.9 kB / 1.215 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.2746, allocations: 1.243 MB / 1.216 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009092/0.2755, allocations: 411.6 kB / 1.217 GB, free: 228 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005926/0.2761, allocations: 226.5 kB / 1.217 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.2762, allocations: 4 kB / 1.217 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.2762, allocations: 42.56 kB / 1.217 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=41): time 1.693e-06/0.2762, allocations: 0 / 1.217 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of matching and sorting (n=41): time 0.001801/0.278, allocations: 0.5661 MB / 1.218 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.2781, allocations: 118.8 kB / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.2783, allocations: 278.7 kB / 1.218 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.2784, allocations: 37.7 kB / 1.218 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.2785, allocations: 220.2 kB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.167e-05/0.2786, allocations: 118.4 kB / 1.218 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.2787, allocations: 98 kB / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2789, allocations: 342.8 kB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006012/0.2795, allocations: 164.7 kB / 1.219 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/0.2801, allocations: 257.6 kB / 1.219 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.2811, allocations: 387 kB / 1.219 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2811, allocations: 4 kB / 1.219 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001267/0.2824, allocations: 472.9 kB / 1.22 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2824, allocations: 4 kB / 1.22 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2825, allocations: 4 kB / 1.22 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2825, allocations: 7.938 kB / 1.22 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004709/0.283, allocations: 99.8 kB / 1.22 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.283, allocations: 7.984 kB / 1.22 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003171/0.2833, allocations: 63.7 kB / 1.22 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.2833, allocations: 16 kB / 1.22 GB, free: 12.59 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.0002202/0.2836, allocations: 173.7 kB / 1.22 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-05/0.2837, allocations: 27.62 kB / 1.22 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.166e-05/0.2838, allocations: 54.08 kB / 1.22 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.2838, allocations: 7.938 kB / 1.22 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.2838, allocations: 7.984 kB / 1.22 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2838, allocations: 0 / 1.22 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.2844, allocations: 457.1 kB / 1.221 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2844, allocations: 4 kB / 1.221 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.2848, allocations: 75.86 kB / 1.221 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.2848, allocations: 7.984 kB / 1.221 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.2848, allocations: 20 kB / 1.221 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2848, allocations: 3.938 kB / 1.221 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2848, allocations: 4 kB / 1.221 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.2861, allocations: 0.6572 MB / 1.222 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.136e-05/0.2862, allocations: 112.6 kB / 1.222 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.2862, allocations: 8 kB / 1.222 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.2866, allocations: 47.89 kB / 1.222 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.2867, allocations: 55.94 kB / 1.222 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.2867, allocations: 15.98 kB / 1.222 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001415/0.2869, allocations: 174 kB / 1.222 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2869, allocations: 0 / 1.222 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004306/0.2873, allocations: 91.59 kB / 1.222 GB, free: 10.51 MB / 0.9825 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.00161/0.289, allocations: 1.236 MB / 1.223 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.2901, allocations: 423.9 kB / 1.224 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2902, allocations: 4 kB / 1.224 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00063/0.2908, allocations: 239.6 kB / 1.224 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.2913, allocations: 50.44 kB / 1.224 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005415/0.2968, allocations: 3.476 MB / 1.227 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.2972, allocations: 0.8076 MB / 1.228 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002183/0.2974, allocations: 59.27 kB / 1.228 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.2976, allocations: 159.4 kB / 1.228 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.2976, allocations: 0 / 1.228 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5035/0.8012, allocations: 7.012 MB / 1.235 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.63, allocations: 5.469 kB / 1.235 GB, free: 13.09 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches