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.001771/0.001771, 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.002052/0.002052, 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.349/2.349, allocations: 223.2 MB / 239.9 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 3.858/3.858, allocations: 409.2 MB / 0.6838 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006367/0.0006366, allocations: 8 kB / 0.8376 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441/1.442, allocations: 146.8 MB / 0.9809 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002286/1.444, allocations: 0.7835 MB / 0.9817 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002125/1.446, allocations: 0.9832 MB / 0.9827 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/1.446, allocations: 4 kB / 0.9827 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.542e-05/1.446, allocations: 11.86 kB / 0.9827 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001753/1.447, allocations: 27.89 kB / 0.9827 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/1.447, allocations: 47.89 kB / 0.9827 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002595/1.447, allocations: 124.4 kB / 0.9829 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/1.448, allocations: 86.62 kB / 0.9829 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/1.448, allocations: 63.7 kB / 0.983 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/1.448, allocations: 63.62 kB / 0.9831 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/1.448, allocations: 4 kB / 0.9831 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.167e-05/1.448, allocations: 4 kB / 0.9831 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.578e-05/1.448, allocations: 31.84 kB / 0.9831 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.905e-05/1.448, allocations: 57.58 kB / 0.9832 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003875/1.449, allocations: 217.6 kB / 0.9834 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.449, allocations: 0 / 0.9834 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.517e-06/1.449, allocations: 3.938 kB / 0.9834 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.394e-06/1.449, allocations: 0 / 0.9834 GB, free: 3.781 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.001248/1.45, allocations: 459.1 kB / 0.9838 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 9.339e-05/1.45, allocations: 12.03 kB / 0.9838 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/1.45, allocations: 58.53 kB / 0.9839 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.383e-05/1.45, allocations: 19.72 kB / 0.9839 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000806/1.451, allocations: 275.1 kB / 0.9842 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.299e-05/1.451, allocations: 16.44 kB / 0.9842 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.195e-05/1.451, allocations: 27.94 kB / 0.9842 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006881/1.452, allocations: 191.2 kB / 0.9844 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/1.452, allocations: 3.938 kB / 0.9844 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/1.452, allocations: 8 kB / 0.9844 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/1.452, allocations: 4 kB / 0.9844 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007422/1.453, allocations: 165.6 kB / 0.9846 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/1.454, allocations: 0.5686 MB / 0.9851 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005315/1.455, allocations: 130.6 kB / 0.9852 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/1.455, allocations: 4 kB / 0.9852 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/1.455, allocations: 34.55 kB / 0.9853 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 3.487e-06/1.455, allocations: 0 / 0.9853 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.001067/1.456, allocations: 222.8 kB / 0.9855 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/1.456, allocations: 51.41 kB / 0.9855 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/1.457, allocations: 170.3 kB / 0.9857 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/1.457, allocations: 29.7 kB / 0.9857 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/1.457, allocations: 144.2 kB / 0.9859 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.238e-05/1.457, allocations: 43.45 kB / 0.9859 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/1.457, allocations: 4 kB / 0.9859 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001808/1.457, allocations: 326.8 kB / 0.9862 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/1.457, allocations: 59.89 kB / 0.9863 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/1.458, allocations: 101.1 kB / 0.9864 GB, free: 472 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/1.458, allocations: 63.91 kB / 0.9864 GB, free: 408 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.458, allocations: 0 / 0.9864 GB, free: 408 kB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006869/1.459, allocations: 191.3 kB / 0.9866 GB, free: 212 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/1.459, allocations: 8.781 kB / 0.9866 GB, free: 204 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/1.459, allocations: 0 / 0.9866 GB, free: 204 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/1.459, allocations: 4 kB / 0.9866 GB, free: 200 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/1.459, allocations: 35.91 kB / 0.9867 GB, free: 164 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/1.459, allocations: 7.953 kB / 0.9867 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/1.459, allocations: 31.98 kB / 0.9867 GB, free: 124 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/1.459, allocations: 4 kB / 0.9867 GB, free: 120 kB / 0.7325 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.0002618/1.46, allocations: 145.7 kB / 0.9868 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/1.46, allocations: 11.91 kB / 0.9869 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.77e-05/1.46, allocations: 17.52 kB / 0.9869 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/1.46, allocations: 4 kB / 0.9869 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.46, allocations: 0 / 0.9869 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/1.46, allocations: 7.953 kB / 0.9869 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005059/1.46, allocations: 269.4 kB / 0.9871 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.46, allocations: 0 / 0.9871 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/1.461, allocations: 23.98 kB / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/1.461, allocations: 0 / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/1.461, allocations: 0 / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.244e-05/1.461, allocations: 11.98 kB / 0.9872 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.461, allocations: 0 / 0.9872 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007217/1.461, allocations: 271.1 kB / 0.9874 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.37e-05/1.462, allocations: 88.92 kB / 0.9875 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/1.462, allocations: 0 / 0.9875 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/1.462, allocations: 19.98 kB / 0.9875 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/1.462, allocations: 19.97 kB / 0.9876 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/1.462, allocations: 7.938 kB / 0.9876 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001407/1.462, allocations: 117.8 kB / 0.9877 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.21e-07/1.462, allocations: 4 kB / 0.9877 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005179/1.463, allocations: 35.84 kB / 0.9877 GB, free: 15 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.00121/1.464, allocations: 0.8101 MB / 0.9885 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007089/1.465, allocations: 151.8 kB / 0.9886 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.465, allocations: 0 / 0.9886 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000303/1.465, allocations: 80.2 kB / 0.9887 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/1.465, allocations: 19.89 kB / 0.9887 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/1.469, allocations: 1.727 MB / 0.9904 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/1.469, allocations: 0.7324 MB / 0.9911 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000197/1.469, allocations: 21.55 kB / 0.9912 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/1.47, allocations: 59.41 kB / 0.9912 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of SimCode: time 9.12e-07/1.47, allocations: 4 kB / 0.9912 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09462/1.564, allocations: 3.015 MB / 0.9942 GB, free: 8.512 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000354/1.565, allocations: 265.5 kB / 0.9944 GB, free: 8.152 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/4.173, allocations: 0 / 0.9944 GB, free: 8.152 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