Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.378/1.378, allocations: 251.9 MB / 266.9 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009744/0.0009744, allocations: 179.5 kB / 326.5 MB, free: 2.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 0.5775 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008921/0.000892, allocations: 86.88 kB / 0.6821 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004058, allocations: 14.34 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2949, allocations: 106.3 MB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1988/0.4938, allocations: 131.7 MB / 1.029 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000397/0.4943, allocations: 71.97 kB / 1.029 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003152/0.4975, allocations: 0.9542 MB / 1.03 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.096e-06/0.4975, allocations: 0 / 1.03 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.4975, allocations: 4 kB / 1.03 GB, free: 11.51 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006183/0.4981, allocations: 387 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.4982, allocations: 12.03 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.709e-05/0.4983, allocations: 34.56 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.4983, allocations: 4 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.4985, allocations: 167 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.4986, allocations: 7.938 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.4986, allocations: 4 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.4989, allocations: 73.66 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.4989, allocations: 7.984 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.4989, allocations: 0 / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.4989, allocations: 0 / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.4991, allocations: 55.95 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.4997, allocations: 308.7 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.5, allocations: 58.55 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.5001, allocations: 4.062 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.5001, allocations: 30.56 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.5001, allocations: 0 / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0003961/0.5005, allocations: 109.6 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.5006, allocations: 59.36 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.372e-05/0.5006, allocations: 105 kB / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.5007, allocations: 25.7 kB / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.729e-05/0.5007, allocations: 92.12 kB / 1.031 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.5008, allocations: 8.219 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.5008, allocations: 4 kB / 1.031 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.5009, allocations: 318.8 kB / 1.032 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.5011, allocations: 27.97 kB / 1.032 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.442e-05/0.5011, allocations: 27.92 kB / 1.032 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.582e-05/0.5013, allocations: 27.98 kB / 1.032 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5013, allocations: 0 / 1.032 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002224/0.5015, allocations: 89.5 kB / 1.032 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.5015, allocations: 11.98 kB / 1.032 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5015, allocations: 4 kB / 1.032 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.5016, allocations: 0 / 1.032 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.357e-05/0.5016, allocations: 8 kB / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.5017, allocations: 3.938 kB / 1.032 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.5018, allocations: 27.92 kB / 1.032 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.5018, allocations: 4 kB / 1.032 GB, free: 9.223 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.00011/0.5019, allocations: 113.8 kB / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.5019, allocations: 0 / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.5022, allocations: 93.48 kB / 1.032 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.5023, allocations: 4 kB / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.5023, allocations: 0 / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5023, allocations: 0 / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.5025, allocations: 174 kB / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.5025, allocations: 0 / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.212e-05/0.5025, allocations: 8 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5026, allocations: 0 / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.5026, allocations: 7.984 kB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5026, allocations: 0 / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5026, allocations: 0 / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.5029, allocations: 191.4 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.5029, allocations: 77.11 kB / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.5029, allocations: 0 / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.5031, allocations: 27.97 kB / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.5032, allocations: 11.92 kB / 1.032 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.5032, allocations: 4 kB / 1.032 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.637e-05/0.5032, allocations: 87.28 kB / 1.033 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5032, allocations: 0 / 1.033 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002008/0.5035, allocations: 4 kB / 1.033 GB, free: 8.336 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006107/0.5041, allocations: 0.7212 MB / 1.033 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.5043, allocations: 67.83 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5044, allocations: 0 / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.959e-05/0.5045, allocations: 31.98 kB / 1.033 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.5047, allocations: 7.984 kB / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009578/0.5057, allocations: 494.4 kB / 1.034 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.506, allocations: 0.6848 MB / 1.034 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.114e-05/0.506, allocations: 7.906 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.05e-05/0.5061, allocations: 15.44 kB / 1.035 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of SimCode: time 3.91e-07/0.5061, allocations: 0 / 1.035 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.5189, allocations: 1.418 MB / 1.036 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/0.5191, allocations: 209.4 kB / 1.036 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.306, allocations: 0 / 1.036 GB, free: 4.73 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)