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.721/2.721, allocations: 287.3 MB / 302.3 MB, free: 8.344 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.00163/0.001631, allocations: 189 kB / 370.8 MB, free: 10.86 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.221/2.221, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001213/0.001213, allocations: 91 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004554, allocations: 16.25 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2207, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9564/1.177, allocations: 137.6 MB / 1.113 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/1.177, allocations: 68.5 kB / 1.113 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00447/1.182, allocations: 0.9405 MB / 1.114 GB, free: 31.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.983e-06/1.182, allocations: 0 / 1.114 GB, free: 31.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.766e-06/1.182, allocations: 0 / 1.114 GB, free: 31.43 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.0007286/1.183, allocations: 383.8 kB / 1.114 GB, free: 31.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/1.183, allocations: 15.77 kB / 1.114 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.161e-05/1.183, allocations: 38.25 kB / 1.114 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/1.183, allocations: 1.219 kB / 1.114 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/1.183, allocations: 182.1 kB / 1.114 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/1.183, allocations: 0 / 1.114 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/1.183, allocations: 7.531 kB / 1.114 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/1.183, allocations: 66.34 kB / 1.114 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/1.183, allocations: 3.875 kB / 1.114 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/1.183, allocations: 0 / 1.114 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/1.184, allocations: 0 / 1.114 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/1.184, allocations: 55.09 kB / 1.114 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006889/1.185, allocations: 300.8 kB / 1.115 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/1.185, allocations: 60.86 kB / 1.115 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/1.185, allocations: 3.984 kB / 1.115 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/1.185, allocations: 35.75 kB / 1.115 GB, free: 30.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.874e-06/1.185, allocations: 0 / 1.115 GB, free: 30.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005789/1.186, allocations: 111.7 kB / 1.115 GB, free: 30.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/1.186, allocations: 59.27 kB / 1.115 GB, free: 30.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/1.186, allocations: 100.9 kB / 1.115 GB, free: 30.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/1.186, allocations: 29.45 kB / 1.115 GB, free: 30.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/1.186, allocations: 93.25 kB / 1.115 GB, free: 30.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/1.186, allocations: 3.906 kB / 1.115 GB, free: 30.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/1.186, allocations: 0 / 1.115 GB, free: 30.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001546/1.186, allocations: 320.9 kB / 1.115 GB, free: 29.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/1.186, allocations: 26.91 kB / 1.115 GB, free: 29.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/1.186, allocations: 28.84 kB / 1.116 GB, free: 29.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/1.187, allocations: 23.61 kB / 1.116 GB, free: 29.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.187, allocations: 0 / 1.116 GB, free: 29.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000369/1.187, allocations: 97.12 kB / 1.116 GB, free: 29.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.187, allocations: 7.719 kB / 1.116 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.187, allocations: 0 / 1.116 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/1.187, allocations: 0 / 1.116 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/1.187, allocations: 11.23 kB / 1.116 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.187, allocations: 3.188 kB / 1.116 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/1.187, allocations: 33.7 kB / 1.116 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/1.187, allocations: 0 / 1.116 GB, free: 29.73 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 0.0001135/1.188, allocations: 117.4 kB / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/1.188, allocations: 3.906 kB / 1.116 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004095/1.188, allocations: 100.7 kB / 1.116 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/1.188, allocations: 0 / 1.116 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.188, allocations: 0 / 1.116 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/1.188, allocations: 3.875 kB / 1.116 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/1.188, allocations: 170.3 kB / 1.116 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/1.188, allocations: 0 / 1.116 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/1.188, allocations: 16.2 kB / 1.116 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/1.188, allocations: 0 / 1.116 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/1.188, allocations: 4 kB / 1.116 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.188, allocations: 0 / 1.116 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.188, allocations: 0 / 1.116 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/1.189, allocations: 184 kB / 1.116 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.959e-05/1.189, allocations: 85.02 kB / 1.116 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/1.189, allocations: 0 / 1.116 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/1.189, allocations: 20.88 kB / 1.116 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/1.189, allocations: 12.48 kB / 1.116 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/1.189, allocations: 1.266 kB / 1.116 GB, free: 29.14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.503e-05/1.189, allocations: 89.59 kB / 1.116 GB, free: 29.06 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.189, allocations: 4 kB / 1.116 GB, free: 29.06 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002758/1.19, allocations: 7.688 kB / 1.116 GB, free: 29.06 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.0008031/1.191, allocations: 0.719 MB / 1.117 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003638/1.191, allocations: 60.33 kB / 1.117 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.191, allocations: 0 / 1.117 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/1.191, allocations: 31.47 kB / 1.117 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/1.191, allocations: 1.078 kB / 1.117 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/1.193, allocations: 484.4 kB / 1.118 GB, free: 28.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/1.193, allocations: 0.686 MB / 1.118 GB, free: 27.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.412e-05/1.193, allocations: 5.375 kB / 1.118 GB, free: 27.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/1.193, allocations: 16.67 kB / 1.118 GB, free: 27.34 MB / 0.698 GB Notification: Performance of SimCode: time 1.163e-06/1.193, allocations: 0 / 1.118 GB, free: 27.34 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/1.213, allocations: 1.431 MB / 1.12 GB, free: 27.18 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/1.213, allocations: 196.9 kB / 1.12 GB, free: 26.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.503/3.716, allocations: 0 / 1.12 GB, free: 26.93 MB / 0.698 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)