Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_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.001076/0.001076, allocations: 99.7 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.001137/0.001137, allocations: 177.3 kB / 15.94 MB, free: 228 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.103/2.103, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.814/3.814, allocations: 409.2 MB / 0.6838 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007114/0.0007115, allocations: 15.98 kB / 0.8376 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144/1.145, allocations: 146.8 MB / 0.9809 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002048/1.147, allocations: 0.7874 MB / 0.9817 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002342/1.15, allocations: 0.9832 MB / 0.9826 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/1.15, allocations: 4 kB / 0.9826 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.564e-05/1.15, allocations: 11.86 kB / 0.9827 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002118/1.15, allocations: 19.91 kB / 0.9827 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/1.15, allocations: 59.88 kB / 0.9827 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002748/1.151, allocations: 120.4 kB / 0.9828 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003964/1.151, allocations: 94.61 kB / 0.9829 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002578/1.151, allocations: 59.7 kB / 0.983 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/1.152, allocations: 63.62 kB / 0.9831 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/1.152, allocations: 8 kB / 0.9831 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.078e-05/1.152, allocations: 4 kB / 0.9831 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/1.152, allocations: 27.84 kB / 0.9831 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.634e-05/1.152, allocations: 61.58 kB / 0.9832 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003921/1.152, allocations: 213.6 kB / 0.9834 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/1.152, allocations: 0 / 0.9834 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.766e-06/1.152, allocations: 0 / 0.9834 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.02e-05/1.152, allocations: 3.938 kB / 0.9834 GB, free: 3.801 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.0009897/1.153, allocations: 459.1 kB / 0.9838 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.598e-05/1.154, allocations: 16.03 kB / 0.9838 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.201e-05/1.154, allocations: 54.53 kB / 0.9839 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.522e-05/1.154, allocations: 23.72 kB / 0.9839 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006391/1.154, allocations: 271.1 kB / 0.9841 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/1.154, allocations: 16.44 kB / 0.9842 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/1.154, allocations: 27.92 kB / 0.9842 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006284/1.155, allocations: 191.2 kB / 0.9844 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/1.155, allocations: 3.938 kB / 0.9844 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/1.155, allocations: 8 kB / 0.9844 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/1.155, allocations: 4 kB / 0.9844 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000408/1.156, allocations: 161.6 kB / 0.9845 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008757/1.156, allocations: 0.5725 MB / 0.9851 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/1.157, allocations: 132 kB / 0.9852 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/1.157, allocations: 0 / 0.9852 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/1.157, allocations: 38.55 kB / 0.9853 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/1.157, allocations: 4 kB / 0.9853 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0006751/1.158, allocations: 213.6 kB / 0.9855 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/1.158, allocations: 55.41 kB / 0.9855 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/1.158, allocations: 170.3 kB / 0.9857 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/1.158, allocations: 29.7 kB / 0.9857 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/1.158, allocations: 148.2 kB / 0.9859 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/1.158, allocations: 35.45 kB / 0.9859 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/1.158, allocations: 4 kB / 0.9859 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.158, allocations: 330.8 kB / 0.9862 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/1.158, allocations: 59.89 kB / 0.9863 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/1.159, allocations: 102 kB / 0.9864 GB, free: 492 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/1.159, allocations: 65.03 kB / 0.9864 GB, free: 428 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/1.159, allocations: 0 / 0.9864 GB, free: 428 kB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004312/1.159, allocations: 190.7 kB / 0.9866 GB, free: 232 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/1.159, allocations: 5.406 kB / 0.9866 GB, free: 228 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.159, allocations: 4 kB / 0.9866 GB, free: 224 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/1.159, allocations: 0 / 0.9866 GB, free: 224 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/1.16, allocations: 43.91 kB / 0.9867 GB, free: 180 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/1.16, allocations: 3.953 kB / 0.9867 GB, free: 176 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/1.16, allocations: 27.98 kB / 0.9867 GB, free: 148 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/1.16, allocations: 8 kB / 0.9867 GB, free: 140 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.0001594/1.16, allocations: 133.8 kB / 0.9868 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/1.16, allocations: 15.84 kB / 0.9868 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.399e-05/1.16, allocations: 25.47 kB / 0.9869 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/1.16, allocations: 0 / 0.9869 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/1.16, allocations: 0 / 0.9869 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/1.16, allocations: 15.94 kB / 0.9869 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/1.16, allocations: 265.4 kB / 0.9871 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.16, allocations: 0 / 0.9871 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/1.161, allocations: 27.98 kB / 0.9872 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.161, allocations: 4 kB / 0.9872 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/1.161, allocations: 0 / 0.9872 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/1.161, allocations: 3.984 kB / 0.9872 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/1.161, allocations: 0 / 0.9872 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004821/1.161, allocations: 268.5 kB / 0.9874 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.696e-05/1.161, allocations: 88.92 kB / 0.9875 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/1.161, allocations: 8 kB / 0.9875 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/1.161, allocations: 15.98 kB / 0.9875 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-05/1.161, allocations: 19.97 kB / 0.9875 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/1.161, allocations: 11.94 kB / 0.9876 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001016/1.161, allocations: 117.8 kB / 0.9877 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.162, allocations: 0 / 0.9877 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002965/1.162, allocations: 35.84 kB / 0.9877 GB, free: 15.02 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.0007862/1.163, allocations: 0.8059 MB / 0.9885 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004217/1.163, allocations: 149.8 kB / 0.9886 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.163, allocations: 0 / 0.9886 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/1.163, allocations: 84.2 kB / 0.9887 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/1.164, allocations: 19.89 kB / 0.9887 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/1.166, allocations: 1.729 MB / 0.9904 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/1.166, allocations: 0.7363 MB / 0.9911 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001275/1.166, allocations: 17.55 kB / 0.9912 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/1.166, allocations: 59.41 kB / 0.9912 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of SimCode: time 1.022e-06/1.166, allocations: 4 kB / 0.9912 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04915/1.216, allocations: 3.002 MB / 0.9942 GB, free: 8.539 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003296/1.216, allocations: 264.1 kB / 0.9944 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.858/4.074, allocations: 0 / 0.9944 GB, free: 8.199 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat