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.0009123/0.0009125, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001134/0.001135, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.501/2.501, allocations: 409.4 MB / 0.684 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.000368, allocations: 15.98 kB / 0.8378 GB, free: 6.418 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7496/0.75, allocations: 146.8 MB / 0.9812 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.002138/0.7522, allocations: 1.302 MB / 0.9825 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.7538, allocations: 1.135 MB / 0.9836 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.7539, allocations: 4 kB / 0.9836 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.978e-05/0.754, allocations: 31.64 kB / 0.9836 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.7542, allocations: 39.66 kB / 0.9836 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.7545, allocations: 115.9 kB / 0.9838 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004409/0.755, allocations: 444.3 kB / 0.9842 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000385/0.7554, allocations: 218.3 kB / 0.9844 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.7556, allocations: 123.3 kB / 0.9845 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.7558, allocations: 167.1 kB / 0.9847 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.433e-05/0.7558, allocations: 16 kB / 0.9847 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.658e-05/0.7559, allocations: 12 kB / 0.9847 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.677e-05/0.7559, allocations: 75.56 kB / 0.9848 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.503e-05/0.756, allocations: 89.45 kB / 0.9848 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004677/0.7565, allocations: 0.5164 MB / 0.9854 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7565, allocations: 0 / 0.9854 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7565, allocations: 0 / 0.9854 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.7565, allocations: 0 / 0.9854 GB, free: 1.93 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.001266/0.7578, allocations: 0.7055 MB / 0.986 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.7579, allocations: 8.031 kB / 0.986 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.758, allocations: 90.52 kB / 0.9861 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.426e-05/0.7581, allocations: 51.34 kB / 0.9862 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.7592, allocations: 0.5067 MB / 0.9867 GB, free: 480 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.7593, allocations: 37 kB / 0.9867 GB, free: 444 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-05/0.7593, allocations: 44 kB / 0.9868 GB, free: 400 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.7604, allocations: 0.5251 MB / 0.9873 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.7604, allocations: 0 / 0.9873 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.7604, allocations: 16 kB / 0.9873 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.7605, allocations: 15.94 kB / 0.9873 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.7616, allocations: 473.4 kB / 0.9877 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.7631, allocations: 1.239 MB / 0.989 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008445/0.764, allocations: 419.7 kB / 0.9894 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000544/0.7645, allocations: 246.5 kB / 0.9896 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.094e-05/0.7646, allocations: 11.94 kB / 0.9896 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.7646, allocations: 42.55 kB / 0.9896 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=40): time 1.453e-06/0.7646, allocations: 0 / 0.9896 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40): time 0.001691/0.7663, allocations: 0.6358 MB / 0.9903 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.7664, allocations: 110.8 kB / 0.9904 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.7666, allocations: 282.7 kB / 0.9906 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.7667, allocations: 29.7 kB / 0.9907 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.7668, allocations: 224.2 kB / 0.9909 GB, free: 12 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.624e-05/0.7669, allocations: 110.5 kB / 0.991 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.7669, allocations: 4 kB / 0.991 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.7671, allocations: 354.8 kB / 0.9913 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004898/0.7676, allocations: 184.7 kB / 0.9915 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005185/0.7681, allocations: 269.7 kB / 0.9918 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004743/0.7686, allocations: 192.6 kB / 0.9919 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7686, allocations: 0 / 0.9919 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001126/0.7697, allocations: 0.5062 MB / 0.9924 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.7698, allocations: 8 kB / 0.9925 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.7698, allocations: 0 / 0.9925 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.7698, allocations: 4 kB / 0.9925 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/0.7703, allocations: 111.9 kB / 0.9926 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.7703, allocations: 4 kB / 0.9926 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.7706, allocations: 75.62 kB / 0.9926 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.7706, allocations: 16 kB / 0.9927 GB, free: 10.14 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.0002148/0.7708, allocations: 185.6 kB / 0.9928 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.42e-05/0.7709, allocations: 31.56 kB / 0.9929 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.657e-05/0.771, allocations: 42.2 kB / 0.9929 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.771, allocations: 4 kB / 0.9929 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.771, allocations: 4 kB / 0.9929 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.771, allocations: 7.984 kB / 0.9929 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005588/0.7716, allocations: 457 kB / 0.9934 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.7716, allocations: 0 / 0.9934 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003775/0.772, allocations: 95.86 kB / 0.9934 GB, free: 9.266 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.772, allocations: 4 kB / 0.9934 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.772, allocations: 8 kB / 0.9935 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.772, allocations: 7.984 kB / 0.9935 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.772, allocations: 0 / 0.9935 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.7732, allocations: 0.7079 MB / 0.9942 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.7733, allocations: 112.6 kB / 0.9943 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.7733, allocations: 4 kB / 0.9943 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.7736, allocations: 51.95 kB / 0.9943 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.7738, allocations: 63.91 kB / 0.9944 GB, free: 8.277 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.058e-05/0.7739, allocations: 8 kB / 0.9944 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001508/0.774, allocations: 181.9 kB / 0.9946 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.774, allocations: 0 / 0.9946 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004223/0.7745, allocations: 91.59 kB / 0.9946 GB, free: 8 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.001467/0.7759, allocations: 1.274 MB / 0.9959 GB, free: 6.699 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.777, allocations: 454 kB / 0.9963 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.777, allocations: 4 kB / 0.9963 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005799/0.7776, allocations: 264.3 kB / 0.9966 GB, free: 5.996 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/0.7781, allocations: 40.98 kB / 0.9966 GB, free: 5.957 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.7817, allocations: 2.154 MB / 0.9987 GB, free: 3.711 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.7821, allocations: 0.8157 MB / 0.9995 GB, free: 2.867 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002614/0.7824, allocations: 54.94 kB / 0.9996 GB, free: 2.809 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.7826, allocations: 151.4 kB / 0.9997 GB, free: 2.66 MB / 0.7481 GB Notification: Performance of SimCode: time 3.8e-07/0.7826, allocations: 0 / 0.9997 GB, free: 2.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.799, allocations: 6.593 MB / 1.006 GB, free: 12.35 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.7992, allocations: 258.5 kB / 1.006 GB, free: 12 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.664, allocations: 0 / 1.006 GB, free: 12 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