Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_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.001032/0.001032, allocations: 86.95 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.001251/0.001251, 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.491/1.491, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.439/2.439, allocations: 390.4 MB / 0.6655 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003482, allocations: 8 kB / 0.8149 GB, free: 14.04 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7863/0.7867, allocations: 142.3 MB / 0.9539 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001086/0.7878, allocations: 0.6833 MB / 0.9546 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009395/0.7888, allocations: 0.958 MB / 0.9555 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.7888, allocations: 2.781 kB / 0.9555 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.426e-05/0.7889, allocations: 7.922 kB / 0.9555 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.516e-05/0.789, allocations: 9.062 kB / 0.9555 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.7892, allocations: 57.31 kB / 0.9556 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.7893, allocations: 137.6 kB / 0.9557 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.7895, allocations: 64.17 kB / 0.9558 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.7896, allocations: 52.36 kB / 0.9558 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.758e-05/0.7897, allocations: 50.39 kB / 0.9559 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.7897, allocations: 4.094 kB / 0.9559 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.757e-05/0.7897, allocations: 4.219 kB / 0.9559 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.7898, allocations: 25.61 kB / 0.9559 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.7898, allocations: 44.08 kB / 0.9559 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.79, allocations: 151.8 kB / 0.9561 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.79, allocations: 0 / 0.9561 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.955e-06/0.79, allocations: 1.188 kB / 0.9561 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.79, allocations: 0 / 0.9561 GB, free: 6.348 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005208/0.7905, allocations: 435.9 kB / 0.9565 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.7906, allocations: 9.125 kB / 0.9565 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.7906, allocations: 48.03 kB / 0.9566 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.7907, allocations: 22.66 kB / 0.9566 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.791, allocations: 259.2 kB / 0.9568 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.7911, allocations: 13.97 kB / 0.9568 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.7911, allocations: 16.25 kB / 0.9569 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.7914, allocations: 147 kB / 0.957 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.7914, allocations: 1.625 kB / 0.957 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.7914, allocations: 11.95 kB / 0.957 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.7914, allocations: 8.641 kB / 0.957 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.7918, allocations: 123.9 kB / 0.9571 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.7923, allocations: 474.9 kB / 0.9576 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.7926, allocations: 104.5 kB / 0.9577 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.7927, allocations: 66.62 kB / 0.9578 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.7927, allocations: 1.125 kB / 0.9578 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.7928, allocations: 35.98 kB / 0.9578 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.7928, allocations: 0 / 0.9578 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005088/0.7933, allocations: 190.9 kB / 0.958 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.7933, allocations: 52.72 kB / 0.958 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.7934, allocations: 160 kB / 0.9582 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.7935, allocations: 26.7 kB / 0.9582 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.7935, allocations: 127.5 kB / 0.9583 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.7935, allocations: 27.86 kB / 0.9583 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.7936, allocations: 1.188 kB / 0.9584 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.009e-05/0.7936, allocations: 321.2 kB / 0.9587 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.7938, allocations: 52.19 kB / 0.9587 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.7939, allocations: 78.86 kB / 0.9588 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.794, allocations: 51.03 kB / 0.9588 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.794, allocations: 1.75 kB / 0.9588 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003905/0.7944, allocations: 161.8 kB / 0.959 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.7945, allocations: 4.938 kB / 0.959 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.7945, allocations: 9.297 kB / 0.959 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.7945, allocations: 1.531 kB / 0.959 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.7947, allocations: 25.55 kB / 0.959 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.7947, allocations: 9.141 kB / 0.959 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.303e-05/0.7948, allocations: 21.16 kB / 0.9591 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.7948, allocations: 8.391 kB / 0.9591 GB, free: 3.824 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,reaToInt2.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 (14): * Single equations (assignments): 14 * 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.146e-05/0.7949, allocations: 121.9 kB / 0.9592 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.7949, allocations: 13.38 kB / 0.9592 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.795, allocations: 16.25 kB / 0.9592 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.795, allocations: 3.953 kB / 0.9592 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.795, allocations: 5.906 kB / 0.9592 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.795, allocations: 7.984 kB / 0.9592 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.7952, allocations: 225.9 kB / 0.9594 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7952, allocations: 0 / 0.9594 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.7953, allocations: 29.03 kB / 0.9595 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.7953, allocations: 0 / 0.9595 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.7953, allocations: 5.562 kB / 0.9595 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.7953, allocations: 0 / 0.9595 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7953, allocations: 5.297 kB / 0.9595 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.7956, allocations: 243.4 kB / 0.9597 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.544e-05/0.7957, allocations: 87.7 kB / 0.9598 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.7957, allocations: 5.375 kB / 0.9598 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.7958, allocations: 16.23 kB / 0.9598 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.7959, allocations: 22.8 kB / 0.9598 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.7959, allocations: 2.75 kB / 0.9598 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.04e-05/0.796, allocations: 104.5 kB / 0.9599 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.796, allocations: 1.375 kB / 0.9599 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002435/0.7962, allocations: 25.78 kB / 0.96 GB, free: 3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0004859/0.7967, allocations: 0.7788 MB / 0.9607 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002978/0.797, allocations: 116.8 kB / 0.9608 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.797, allocations: 0 / 0.9608 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.7972, allocations: 70.8 kB / 0.9609 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.7975, allocations: 13.84 kB / 0.9609 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.7988, allocations: 0.8152 MB / 0.9617 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.7989, allocations: 0.7154 MB / 0.9624 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.204e-05/0.799, allocations: 15.7 kB / 0.9624 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/0.7991, allocations: 47.67 kB / 0.9625 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7991, allocations: 0 / 0.9625 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/0.8123, allocations: 2.486 MB / 0.9649 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.8125, allocations: 241.1 kB / 0.9651 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/2.494, allocations: 0 / 0.9651 GB, free: 15.48 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat