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.ActiveAirFlow.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.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow",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.0008156/0.0008156, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008008/0.0008008, allocations: 168.7 kB / 15.95 MB, free: 204 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.338/1.338, allocations: 223.2 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.453/2.453, allocations: 409.4 MB / 0.684 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003978, allocations: 8 kB / 0.8378 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7784/0.7788, allocations: 146.8 MB / 0.9812 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.001358/0.7802, allocations: 0.7794 MB / 0.982 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.7816, allocations: 0.9869 MB / 0.9829 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.7817, allocations: 4 kB / 0.9829 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.031e-05/0.7818, allocations: 15.86 kB / 0.9829 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.7819, allocations: 15.84 kB / 0.9829 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.7822, allocations: 55.95 kB / 0.983 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.7824, allocations: 192.2 kB / 0.9832 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.7827, allocations: 90.62 kB / 0.9833 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.7829, allocations: 59.66 kB / 0.9833 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.783, allocations: 67.62 kB / 0.9834 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.783, allocations: 4 kB / 0.9834 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.09e-05/0.7831, allocations: 8 kB / 0.9834 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.7831, allocations: 27.84 kB / 0.9834 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.7832, allocations: 49.64 kB / 0.9835 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.7834, allocations: 213.7 kB / 0.9837 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.7834, allocations: 0 / 0.9837 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7834, allocations: 7.938 kB / 0.9837 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.7834, allocations: 0 / 0.9837 GB, free: 3.684 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006822/0.7841, allocations: 463 kB / 0.9841 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.7842, allocations: 12.03 kB / 0.9841 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.012e-05/0.7842, allocations: 54.55 kB / 0.9842 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.7843, allocations: 23.72 kB / 0.9842 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/0.7848, allocations: 275.1 kB / 0.9845 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.7848, allocations: 16.44 kB / 0.9845 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.7849, allocations: 19.98 kB / 0.9845 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/0.7852, allocations: 195.2 kB / 0.9847 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.7853, allocations: 0 / 0.9847 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.7853, allocations: 12 kB / 0.9847 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.7853, allocations: 4 kB / 0.9847 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003694/0.7857, allocations: 157.6 kB / 0.9849 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007896/0.7865, allocations: 0.5686 MB / 0.9854 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.7868, allocations: 138.7 kB / 0.9856 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.787, allocations: 65.81 kB / 0.9856 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.787, allocations: 11.97 kB / 0.9856 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.787, allocations: 42.5 kB / 0.9857 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.787, allocations: 0 / 0.9857 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0005799/0.7876, allocations: 215.2 kB / 0.9859 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.7877, allocations: 55.41 kB / 0.9859 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.7879, allocations: 170.3 kB / 0.9861 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.7879, allocations: 29.7 kB / 0.9861 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.7881, allocations: 144.1 kB / 0.9863 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.7881, allocations: 35.41 kB / 0.9863 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.355e-05/0.7882, allocations: 8 kB / 0.9863 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.7884, allocations: 334.7 kB / 0.9866 GB, free: 468 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.7885, allocations: 55.95 kB / 0.9867 GB, free: 412 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.7888, allocations: 106.2 kB / 0.9868 GB, free: 288 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.789, allocations: 59.97 kB / 0.9868 GB, free: 228 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.789, allocations: 0 / 0.9868 GB, free: 228 kB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000453/0.7895, allocations: 191.5 kB / 0.987 GB, free: 32 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.7895, allocations: 10.03 kB / 0.987 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.7895, allocations: 3.984 kB / 0.987 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/0.7895, allocations: 4 kB / 0.987 GB, free: 16 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.7898, allocations: 35.97 kB / 0.9871 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.7898, allocations: 7.953 kB / 0.9871 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.7899, allocations: 19.78 kB / 0.9871 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.79, allocations: 20.06 kB / 0.9871 GB, free: 15.93 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001739/0.7902, allocations: 137.7 kB / 0.9872 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.7902, allocations: 11.89 kB / 0.9872 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.796e-05/0.7903, allocations: 21.53 kB / 0.9873 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.7903, allocations: 4 kB / 0.9873 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.7903, allocations: 0 / 0.9873 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.7903, allocations: 3.953 kB / 0.9873 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.7907, allocations: 261.5 kB / 0.9875 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.7907, allocations: 4 kB / 0.9875 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.7908, allocations: 27.98 kB / 0.9876 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.7909, allocations: 0 / 0.9876 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.7909, allocations: 3.984 kB / 0.9876 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7909, allocations: 0 / 0.9876 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.7909, allocations: 0 / 0.9876 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004585/0.7913, allocations: 271.1 kB / 0.9878 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-05/0.7914, allocations: 88.92 kB / 0.9879 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.7915, allocations: 4 kB / 0.9879 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.7916, allocations: 15.98 kB / 0.9879 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.7917, allocations: 19.97 kB / 0.9879 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.7917, allocations: 8 kB / 0.988 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001137/0.7919, allocations: 117.8 kB / 0.9881 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.81e-07/0.7919, allocations: 0 / 0.9881 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002945/0.7922, allocations: 35.84 kB / 0.9881 GB, free: 14.83 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0008273/0.793, allocations: 0.809 MB / 0.9889 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004128/0.7934, allocations: 159.7 kB / 0.989 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7934, allocations: 3.938 kB / 0.989 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.7936, allocations: 76.22 kB / 0.9891 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.794, allocations: 27.83 kB / 0.9891 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.7961, allocations: 0.9718 MB / 0.9901 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.7965, allocations: 0.7362 MB / 0.9908 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001307/0.7967, allocations: 25.52 kB / 0.9908 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.7968, allocations: 60.45 kB / 0.9909 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of SimCode: time 6.01e-07/0.7968, allocations: 0 / 0.9909 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01661/0.8134, allocations: 3.032 MB / 0.9939 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/0.8137, allocations: 272.4 kB / 0.9941 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.565, allocations: 0 / 0.9941 GB, free: 8.719 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.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.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat