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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.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.001195/0.001195, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001503/0.001503, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.165/2.165, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.848/3.848, allocations: 409.2 MB / 0.6838 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006099/0.0006102, allocations: 12 kB / 0.8376 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341/1.342, allocations: 146.8 MB / 0.9809 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.00189/1.344, allocations: 1.321 MB / 0.9822 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001524/1.346, allocations: 1.135 MB / 0.9833 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/1.346, allocations: 8 kB / 0.9833 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.733e-05/1.346, allocations: 27.66 kB / 0.9833 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/1.346, allocations: 43.86 kB / 0.9834 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/1.346, allocations: 131.7 kB / 0.9835 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003173/1.347, allocations: 268.8 kB / 0.9838 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004029/1.347, allocations: 222.3 kB / 0.984 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/1.347, allocations: 123.4 kB / 0.9841 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/1.347, allocations: 167.1 kB / 0.9843 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.243e-05/1.348, allocations: 15.94 kB / 0.9843 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.51e-05/1.348, allocations: 16 kB / 0.9843 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/1.348, allocations: 59.7 kB / 0.9843 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.82e-05/1.348, allocations: 93.45 kB / 0.9844 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004644/1.348, allocations: 0.5085 MB / 0.9849 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/1.348, allocations: 0 / 0.9849 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.352e-06/1.348, allocations: 0 / 0.9849 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.823e-06/1.348, allocations: 0 / 0.9849 GB, free: 2.125 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001222/1.349, allocations: 0.7094 MB / 0.9856 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/1.35, allocations: 11.97 kB / 0.9856 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/1.35, allocations: 86.52 kB / 0.9857 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.143e-05/1.35, allocations: 51.34 kB / 0.9858 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/1.351, allocations: 0.5145 MB / 0.9863 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.852e-05/1.351, allocations: 41 kB / 0.9863 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.988e-05/1.351, allocations: 40 kB / 0.9863 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/1.353, allocations: 0.5173 MB / 0.9869 GB, free: 44 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/1.353, allocations: 7.938 kB / 0.9869 GB, free: 36 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.492e-05/1.353, allocations: 20 kB / 0.9869 GB, free: 16 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/1.353, allocations: 12 kB / 0.9869 GB, free: 4 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001854/1.355, allocations: 465.5 kB / 0.9873 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/1.357, allocations: 1.239 MB / 0.9885 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/1.359, allocations: 423.9 kB / 0.989 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.047e-05/1.359, allocations: 8 kB / 0.989 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/1.359, allocations: 34.56 kB / 0.989 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=40): time 3.126e-06/1.359, allocations: 0 / 0.989 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40): time 0.002677/1.362, allocations: 0.6436 MB / 0.9896 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/1.362, allocations: 110.8 kB / 0.9897 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/1.362, allocations: 274.7 kB / 0.99 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/1.362, allocations: 37.7 kB / 0.99 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/1.362, allocations: 216.2 kB / 0.9902 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/1.362, allocations: 114.5 kB / 0.9903 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/1.362, allocations: 8 kB / 0.9903 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001977/1.363, allocations: 346.8 kB / 0.9907 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008303/1.364, allocations: 184.7 kB / 0.9909 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008779/1.364, allocations: 273.7 kB / 0.9911 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008322/1.365, allocations: 188.9 kB / 0.9913 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/1.365, allocations: 0 / 0.9913 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001876/1.367, allocations: 0.5072 MB / 0.9918 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/1.367, allocations: 8 kB / 0.9918 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.367, allocations: 0 / 0.9918 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.679e-05/1.367, allocations: 8 kB / 0.9918 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007085/1.368, allocations: 108.1 kB / 0.9919 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/1.368, allocations: 4 kB / 0.9919 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005047/1.369, allocations: 79.53 kB / 0.992 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/1.369, allocations: 16 kB / 0.992 GB, free: 10.58 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 23 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.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,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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004072/1.369, allocations: 181.6 kB / 0.9922 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/1.369, allocations: 31.56 kB / 0.9922 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/1.369, allocations: 46.2 kB / 0.9923 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/1.369, allocations: 4 kB / 0.9923 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/1.369, allocations: 4 kB / 0.9923 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/1.369, allocations: 3.984 kB / 0.9923 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/1.37, allocations: 453.1 kB / 0.9927 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/1.37, allocations: 3.984 kB / 0.9927 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006018/1.371, allocations: 99.86 kB / 0.9928 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/1.371, allocations: 0 / 0.9928 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/1.371, allocations: 8 kB / 0.9928 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/1.371, allocations: 4 kB / 0.9928 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.371, allocations: 3.984 kB / 0.9928 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/1.373, allocations: 0.7384 MB / 0.9935 GB, free: 8.93 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/1.373, allocations: 116.6 kB / 0.9936 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.367e-05/1.373, allocations: 4 kB / 0.9936 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005419/1.374, allocations: 51.95 kB / 0.9937 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/1.374, allocations: 63.91 kB / 0.9938 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/1.374, allocations: 12 kB / 0.9938 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002503/1.374, allocations: 182 kB / 0.9939 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/1.374, allocations: 0 / 0.9939 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007671/1.375, allocations: 91.55 kB / 0.994 GB, free: 8.398 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00258/1.378, allocations: 1.427 MB / 0.9954 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001977/1.38, allocations: 452 kB / 0.9959 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.38, allocations: 0 / 0.9959 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000955/1.381, allocations: 274 kB / 0.9961 GB, free: 6.23 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005839/1.381, allocations: 40.5 kB / 0.9962 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00743/1.389, allocations: 3.639 MB / 0.9997 GB, free: 2.449 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007427/1.39, allocations: 0.8277 MB / 1.001 GB, free: 1.594 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004378/1.39, allocations: 58.89 kB / 1.001 GB, free: 1.535 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/1.39, allocations: 147.4 kB / 1.001 GB, free: 1.391 MB / 0.7481 GB Notification: Performance of SimCode: time 1.553e-06/1.39, allocations: 3.938 kB / 1.001 GB, free: 1.387 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09882/1.489, allocations: 6.568 MB / 1.007 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003861/1.49, allocations: 257.7 kB / 1.007 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.929/4.419, allocations: 0 / 1.007 GB, free: 10.75 MB / 0.7637 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat