Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.86/1.86, allocations: 288.2 MB / 303.2 MB, free: 8.246 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.001087/0.001087, allocations: 193 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009318/0.0009318, allocations: 98.36 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004686, allocations: 12.41 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2498, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8374/1.087, allocations: 137.8 MB / 1.114 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/1.088, allocations: 71.64 kB / 1.114 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003311/1.091, allocations: 0.9444 MB / 1.115 GB, free: 32.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.956e-06/1.091, allocations: 0 / 1.115 GB, free: 32.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.378e-06/1.091, allocations: 4 kB / 1.115 GB, free: 32.02 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.0005415/1.092, allocations: 379.4 kB / 1.115 GB, free: 31.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/1.092, allocations: 15.67 kB / 1.115 GB, free: 31.65 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/1.092, allocations: 37.53 kB / 1.115 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/1.092, allocations: 3.75 kB / 1.115 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/1.092, allocations: 182.7 kB / 1.116 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/1.092, allocations: 0 / 1.116 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/1.092, allocations: 3.875 kB / 1.116 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/1.092, allocations: 68.08 kB / 1.116 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/1.092, allocations: 0 / 1.116 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/1.092, allocations: 11.47 kB / 1.116 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.092, allocations: 0 / 1.116 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/1.092, allocations: 53.89 kB / 1.116 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000534/1.093, allocations: 300.5 kB / 1.116 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/1.093, allocations: 58.14 kB / 1.116 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/1.093, allocations: 0 / 1.116 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/1.093, allocations: 33 kB / 1.116 GB, free: 31.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/1.093, allocations: 0 / 1.116 GB, free: 31.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003677/1.094, allocations: 119.5 kB / 1.116 GB, free: 30.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/1.094, allocations: 55.25 kB / 1.116 GB, free: 30.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/1.094, allocations: 110.6 kB / 1.116 GB, free: 30.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/1.094, allocations: 32.31 kB / 1.116 GB, free: 30.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/1.094, allocations: 83.77 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/1.094, allocations: 6.438 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/1.094, allocations: 7.844 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.094, allocations: 314.2 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.882e-05/1.094, allocations: 26.52 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.607e-05/1.094, allocations: 24.3 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.786e-05/1.094, allocations: 26.3 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.094, allocations: 3.812 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001935/1.094, allocations: 89.47 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.094, allocations: 10 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/1.094, allocations: 4 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.094, allocations: 0 / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.785e-05/1.095, allocations: 10.98 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/1.095, allocations: 0 / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/1.095, allocations: 30.16 kB / 1.117 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/1.095, allocations: 7.953 kB / 1.117 GB, free: 30.32 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 () * 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 7.694e-05/1.095, allocations: 109.7 kB / 1.117 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/1.095, allocations: 11.5 kB / 1.117 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/1.095, allocations: 87.39 kB / 1.117 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/1.095, allocations: 7.844 kB / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.095, allocations: 0 / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/1.095, allocations: 0 / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/1.095, allocations: 177.1 kB / 1.117 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.095, allocations: 0 / 1.117 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/1.095, allocations: 12.73 kB / 1.117 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/1.095, allocations: 0 / 1.117 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/1.095, allocations: 0 / 1.117 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/1.095, allocations: 3.688 kB / 1.117 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.095, allocations: 0 / 1.117 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/1.096, allocations: 182.5 kB / 1.118 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/1.096, allocations: 84.86 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/1.096, allocations: 3.562 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/1.096, allocations: 21.7 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/1.096, allocations: 6.656 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/1.096, allocations: 3.844 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.863e-05/1.096, allocations: 90.44 kB / 1.118 GB, free: 29.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.096, allocations: 0 / 1.118 GB, free: 29.65 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001977/1.096, allocations: 11.06 kB / 1.118 GB, free: 29.65 MB / 0.698 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.0005921/1.097, allocations: 0.7204 MB / 1.119 GB, free: 28.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002188/1.097, allocations: 61.28 kB / 1.119 GB, free: 28.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.097, allocations: 3.938 kB / 1.119 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.894e-05/1.097, allocations: 30.97 kB / 1.119 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/1.097, allocations: 7.812 kB / 1.119 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008584/1.098, allocations: 484.5 kB / 1.119 GB, free: 28.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/1.098, allocations: 0.684 MB / 1.12 GB, free: 27.94 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.864e-05/1.099, allocations: 8.062 kB / 1.12 GB, free: 27.94 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/1.099, allocations: 13.48 kB / 1.12 GB, free: 27.93 MB / 0.698 GB Notification: Performance of SimCode: time 3.9e-07/1.099, allocations: 0 / 1.12 GB, free: 27.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01195/1.111, allocations: 1.435 MB / 1.121 GB, free: 27.78 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/1.111, allocations: 207.2 kB / 1.121 GB, free: 27.54 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.681, allocations: 0 / 1.121 GB, free: 27.54 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)