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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.322/2.322, allocations: 390.3 MB / 402.8 MB, free: 6.672 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 180.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 221.3 MB / 0.7915 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001034, allocations: 95.19 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.34e-05/3.343e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2901, allocations: 143 MB / 1.219 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8834/1.174, allocations: 151 MB / 1.366 GB, free: 3.055 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/1.174, allocations: 76.62 kB / 1.366 GB, free: 3.012 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008568/1.182, allocations: 3.108 MB / 1.37 GB, free: 352 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.623e-06/1.183, allocations: 0 / 1.37 GB, free: 352 kB / 0.823 GB Notification: Performance of Transformations before backend: time 1.646e-05/1.183, allocations: 4 kB / 1.37 GB, free: 348 kB / 0.823 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.0007575/1.183, allocations: 455.5 kB / 1.37 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/1.183, allocations: 12.03 kB / 1.37 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.689e-05/1.183, allocations: 50.67 kB / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.189e-05/1.184, allocations: 27.67 kB / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/1.184, allocations: 194.1 kB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/1.184, allocations: 15.25 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/1.184, allocations: 15.25 kB / 1.37 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/1.184, allocations: 174.6 kB / 1.37 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/1.184, allocations: 3.938 kB / 1.37 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/1.184, allocations: 3.5 kB / 1.37 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/1.184, allocations: 8 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/1.185, allocations: 130.1 kB / 1.371 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/1.186, allocations: 0.6075 MB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/1.186, allocations: 122.2 kB / 1.371 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.563e-05/1.186, allocations: 53.17 kB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/1.186, allocations: 4 kB / 1.371 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/1.186, allocations: 42.48 kB / 1.371 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/1.186, allocations: 0 / 1.371 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0003222/1.186, allocations: 129.2 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/1.187, allocations: 55.22 kB / 1.372 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/1.187, allocations: 179.1 kB / 1.372 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/1.187, allocations: 25.7 kB / 1.372 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.024e-05/1.187, allocations: 127.9 kB / 1.372 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/1.187, allocations: 49.7 kB / 1.372 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-06/1.187, allocations: 3.125 kB / 1.372 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.187, allocations: 325.1 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.081e-05/1.187, allocations: 34.53 kB / 1.372 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.589e-05/1.187, allocations: 47.38 kB / 1.372 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.027e-05/1.187, allocations: 24.25 kB / 1.372 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.187, allocations: 4 kB / 1.372 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002399/1.188, allocations: 132.9 kB / 1.372 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/1.188, allocations: 4 kB / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.188, allocations: 4 kB / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/1.188, allocations: 4 kB / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/1.188, allocations: 23.97 kB / 1.372 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/1.188, allocations: 4 kB / 1.372 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/1.188, allocations: 19.02 kB / 1.373 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/1.188, allocations: 4 kB / 1.373 GB, free: 13.52 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.99e-05/1.188, allocations: 120.7 kB / 1.373 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/1.188, allocations: 23.75 kB / 1.373 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.843e-05/1.188, allocations: 24.14 kB / 1.373 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/1.188, allocations: 3.938 kB / 1.373 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.188, allocations: 0 / 1.373 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.188, allocations: 0 / 1.373 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/1.189, allocations: 277.9 kB / 1.373 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/1.189, allocations: 0 / 1.373 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/1.189, allocations: 30.8 kB / 1.373 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/1.189, allocations: 0 / 1.373 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/1.189, allocations: 7.938 kB / 1.373 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.189, allocations: 0 / 1.373 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.189, allocations: 0 / 1.373 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/1.189, allocations: 232.8 kB / 1.373 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.577e-05/1.189, allocations: 88.92 kB / 1.373 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/1.189, allocations: 7.312 kB / 1.373 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/1.189, allocations: 23.5 kB / 1.373 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.856e-05/1.189, allocations: 19.47 kB / 1.373 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/1.189, allocations: 11.36 kB / 1.373 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001226/1.19, allocations: 134 kB / 1.373 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.19, allocations: 3.938 kB / 1.373 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002507/1.19, allocations: 31.5 kB / 1.373 GB, free: 12.54 MB / 0.8386 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.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete 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.0006366/1.191, allocations: 0.7844 MB / 1.374 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002285/1.191, allocations: 105 kB / 1.374 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.191, allocations: 0 / 1.374 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/1.191, allocations: 65.62 kB / 1.374 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/1.191, allocations: 16.66 kB / 1.374 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006817/1.192, allocations: 272.2 kB / 1.375 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/1.192, allocations: 0.7363 MB / 1.375 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.107e-05/1.192, allocations: 17.2 kB / 1.375 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.822e-05/1.192, allocations: 54.75 kB / 1.375 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/1.192, allocations: 0 / 1.375 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/1.209, allocations: 3.268 MB / 1.379 GB, free: 7.559 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/1.21, allocations: 231.2 kB / 1.379 GB, free: 7.293 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.912, allocations: 7.562 kB / 1.379 GB, free: 7.289 MB / 0.8386 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) 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