Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.521/2.521, allocations: 284.9 MB / 292.4 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00141/0.00141, allocations: 188.7 kB / 360.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.3 MB / 0.6191 GB, free: 12.17 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 90.25 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/3.963e-05, allocations: 7.984 kB / 0.8509 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8376/0.8377, allocations: 115.3 MB / 0.9634 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2402/1.078, allocations: 136.9 MB / 1.097 GB, free: 3.547 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/1.078, allocations: 67.97 kB / 1.097 GB, free: 3.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004191/1.082, allocations: 0.9348 MB / 1.098 GB, free: 2.574 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.687e-06/1.083, allocations: 8.859 kB / 1.098 GB, free: 2.566 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.436e-06/1.083, allocations: 0 / 1.098 GB, free: 2.566 MB / 0.698 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.0006992/1.083, allocations: 372.6 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/1.083, allocations: 8.031 kB / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/1.083, allocations: 9.828 kB / 1.098 GB, free: 2.148 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/1.084, allocations: 174.9 kB / 1.099 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/1.084, allocations: 4.688 kB / 1.099 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/1.084, allocations: 0 / 1.099 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001213/1.084, allocations: 20.66 kB / 1.099 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/1.084, allocations: 46.11 kB / 1.099 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/1.084, allocations: 6.953 kB / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/1.084, allocations: 2.125 kB / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/1.084, allocations: 0.5312 kB / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006856/1.085, allocations: 283.7 kB / 1.099 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/1.085, allocations: 42.56 kB / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/1.085, allocations: 8.922 kB / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/1.085, allocations: 0 / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/1.085, allocations: 38.56 kB / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/1.085, allocations: 2.062 kB / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001976/1.085, allocations: 52 kB / 1.099 GB, free: 1.391 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/1.085, allocations: 51.41 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.972e-05/1.085, allocations: 93 kB / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/1.085, allocations: 29.7 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/1.086, allocations: 92.03 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/1.086, allocations: 7.906 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/1.086, allocations: 4 kB / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.086, allocations: 318.8 kB / 1.1 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.849e-05/1.086, allocations: 8 kB / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/1.086, allocations: 4 kB / 1.1 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/1.086, allocations: 11.98 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.086, allocations: 0 / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001287/1.086, allocations: 47.77 kB / 1.1 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/1.086, allocations: 6.188 kB / 1.1 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.086, allocations: 7.984 kB / 1.1 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/1.086, allocations: 7.938 kB / 1.1 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/1.086, allocations: 12 kB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/1.086, allocations: 3.828 kB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/1.086, allocations: 19.97 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/1.087, allocations: 8 kB / 1.1 GB, free: 0.6367 MB / 0.698 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 () * 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 9.83e-05/1.087, allocations: 108.7 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001299/1.087, allocations: 51.47 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/1.087, allocations: 4 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/1.087, allocations: 57.91 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/1.087, allocations: 0 / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/1.087, allocations: 6.188 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/1.087, allocations: 7.938 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/1.087, allocations: 138.2 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.087, allocations: 4 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/1.087, allocations: 12 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/1.087, allocations: 1.453 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/1.087, allocations: 3.984 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.087, allocations: 0 / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.087, allocations: 0 / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/1.088, allocations: 147.4 kB / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/1.088, allocations: 85.11 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/1.088, allocations: 0 / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/1.088, allocations: 15.98 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/1.088, allocations: 15.92 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.475e-06/1.088, allocations: 0 / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.265e-05/1.088, allocations: 91.33 kB / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.8e-07/1.088, allocations: 2.625 kB / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002894/1.089, allocations: 8 kB / 1.101 GB, free: 15.8 MB / 0.7136 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) * 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.0005226/1.089, allocations: 0.6812 MB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001317/1.089, allocations: 20 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.089, allocations: 0 / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.173e-05/1.089, allocations: 15.94 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/1.09, allocations: 13.7 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/1.09, allocations: 105.2 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/1.09, allocations: 0.6846 MB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.321e-05/1.09, allocations: 4 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/1.09, allocations: 15.42 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of SimCode: time 8.62e-07/1.09, allocations: 4 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03879/1.129, allocations: 1.03 MB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003184/1.13, allocations: 151.9 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/3.354, allocations: 2.375 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)