Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_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.637/2.637, allocations: 390.3 MB / 402.8 MB, free: 6.656 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.001039/0.001039, 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.646/1.646, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.0009314/0.0009313, allocations: 80.03 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.771e-05/3.782e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2869, allocations: 143 MB / 1.219 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8622/1.149, allocations: 151.5 MB / 1.367 GB, free: 2.598 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/1.149, allocations: 73.64 kB / 1.367 GB, free: 2.559 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01/1.159, allocations: 3.86 MB / 1.371 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.472e-06/1.159, allocations: 0 / 1.371 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.183e-05/1.16, allocations: 8 kB / 1.371 GB, free: 15.25 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000777/1.16, allocations: 0.4923 MB / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/1.16, allocations: 8.031 kB / 1.371 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.021e-05/1.16, allocations: 61.66 kB / 1.371 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.484e-05/1.161, allocations: 31.67 kB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/1.161, allocations: 278.9 kB / 1.372 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/1.161, allocations: 19.25 kB / 1.372 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/1.161, allocations: 23.25 kB / 1.372 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/1.161, allocations: 210.1 kB / 1.372 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/1.161, allocations: 7.984 kB / 1.372 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/1.161, allocations: 6.938 kB / 1.372 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/1.162, allocations: 8 kB / 1.372 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/1.162, allocations: 160.7 kB / 1.372 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/1.163, allocations: 0.7247 MB / 1.373 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/1.163, allocations: 149.3 kB / 1.373 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/1.164, allocations: 64.78 kB / 1.373 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/1.164, allocations: 7.5 kB / 1.373 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/1.164, allocations: 34.47 kB / 1.373 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.874e-06/1.164, allocations: 0 / 1.373 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0003286/1.164, allocations: 140.4 kB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/1.164, allocations: 59.41 kB / 1.373 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/1.164, allocations: 214.8 kB / 1.373 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/1.164, allocations: 29.64 kB / 1.373 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/1.164, allocations: 151.5 kB / 1.373 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/1.164, allocations: 42.61 kB / 1.373 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.908e-06/1.164, allocations: 3.375 kB / 1.373 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.165, allocations: 336.8 kB / 1.374 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.205e-05/1.165, allocations: 44 kB / 1.374 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-05/1.165, allocations: 69.53 kB / 1.374 GB, free: 12.26 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.586e-05/1.165, allocations: 36.77 kB / 1.374 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.165, allocations: 0 / 1.374 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000233/1.165, allocations: 151.4 kB / 1.374 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/1.165, allocations: 4 kB / 1.374 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.165, allocations: 4 kB / 1.374 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/1.165, allocations: 0 / 1.374 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/1.165, allocations: 35.53 kB / 1.374 GB, free: 12.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/1.165, allocations: 4.031 kB / 1.374 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/1.165, allocations: 31.81 kB / 1.374 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/1.165, allocations: 7.938 kB / 1.374 GB, free: 12.04 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: 10 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,$PRE.actAirSet.gre.greHys.y,actAirSet.gre.greHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.095e-05/1.166, allocations: 121.6 kB / 1.374 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/1.166, allocations: 19.81 kB / 1.374 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.865e-05/1.166, allocations: 32.7 kB / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.166, allocations: 0 / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.166, allocations: 4 kB / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/1.166, allocations: 0 / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/1.166, allocations: 312.8 kB / 1.375 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/1.166, allocations: 0 / 1.375 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/1.166, allocations: 34.97 kB / 1.375 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/1.166, allocations: 0 / 1.375 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/1.166, allocations: 7.5 kB / 1.375 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.166, allocations: 4 kB / 1.375 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.166, allocations: 3.984 kB / 1.375 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/1.167, allocations: 247.3 kB / 1.375 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/1.167, allocations: 108.7 kB / 1.375 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/1.167, allocations: 3.625 kB / 1.375 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/1.167, allocations: 27.28 kB / 1.375 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.529e-05/1.167, allocations: 31.83 kB / 1.375 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/1.167, allocations: 8 kB / 1.375 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001291/1.167, allocations: 170.1 kB / 1.375 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.167, allocations: 0 / 1.375 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002564/1.167, allocations: 43.72 kB / 1.375 GB, free: 10.95 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: 9 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.gre.greHys.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0005634/1.168, allocations: 0.8037 MB / 1.376 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000238/1.168, allocations: 113.7 kB / 1.376 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.168, allocations: 0 / 1.376 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/1.168, allocations: 77.2 kB / 1.376 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/1.169, allocations: 20.59 kB / 1.376 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007197/1.169, allocations: 325.9 kB / 1.377 GB, free: 9.707 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/1.17, allocations: 0.7484 MB / 1.377 GB, free: 8.934 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001206/1.17, allocations: 21.55 kB / 1.377 GB, free: 8.914 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/1.17, allocations: 74.34 kB / 1.377 GB, free: 8.887 MB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/1.17, allocations: 0 / 1.377 GB, free: 8.887 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/1.186, allocations: 4.193 MB / 1.382 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/1.186, allocations: 221.1 kB / 1.382 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.972, allocations: 2.062 kB / 1.382 GB, free: 4.715 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat