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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002029/0.002029, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.808/1.808, allocations: 251.7 MB / 0.5092 GB, free: 3.137 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001528, allocations: 67.91 kB / 0.6223 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.615/0.6166, allocations: 104.7 MB / 0.7245 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.00343/0.6201, allocations: 1.422 MB / 0.7259 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004513/0.6206, allocations: 156.4 kB / 0.7261 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.055e-05/0.6206, allocations: 0 / 0.7261 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/0.6206, allocations: 3.938 kB / 0.7261 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.403e-05/0.6207, allocations: 3.938 kB / 0.7261 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.6209, allocations: 23.92 kB / 0.7261 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.641e-05/0.621, allocations: 47.84 kB / 0.7261 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.6212, allocations: 15.98 kB / 0.7262 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.631e-05/0.6213, allocations: 11.98 kB / 0.7262 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.84e-05/0.6213, allocations: 27.86 kB / 0.7262 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.6214, allocations: 4 kB / 0.7262 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.543e-05/0.6214, allocations: 4 kB / 0.7262 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.6214, allocations: 7.984 kB / 0.7262 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.6215, allocations: 15.88 kB / 0.7262 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.6216, allocations: 51.84 kB / 0.7263 GB, free: 11.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.6216, allocations: 4 kB / 0.7263 GB, free: 11.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6216, allocations: 0 / 0.7263 GB, free: 11.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.6216, allocations: 0 / 0.7263 GB, free: 11.07 MB / 0.545 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.0007653/0.6224, allocations: 381.2 kB / 0.7266 GB, free: 10.65 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.6224, allocations: 12.03 kB / 0.7267 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.6225, allocations: 0.9375 kB / 0.7267 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.6226, allocations: 172.3 kB / 0.7268 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.6226, allocations: 384 / 0.7268 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.6226, allocations: 4.375 kB / 0.7268 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.6229, allocations: 66.16 kB / 0.7269 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.6229, allocations: 4.188 kB / 0.7269 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.6229, allocations: 11.94 kB / 0.7269 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.6229, allocations: 0 / 0.7269 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.6231, allocations: 47.94 kB / 0.7269 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006149/0.6237, allocations: 304.6 kB / 0.7272 GB, free: 9.945 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.624, allocations: 54.48 kB / 0.7273 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.902e-05/0.6241, allocations: 25 kB / 0.7273 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.6242, allocations: 0 / 0.7273 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.6242, allocations: 30.56 kB / 0.7273 GB, free: 9.816 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 2.254e-06/0.6242, allocations: 8 kB / 0.7273 GB, free: 9.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004068/0.6246, allocations: 101.5 kB / 0.7274 GB, free: 9.703 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.6247, allocations: 51.41 kB / 0.7275 GB, free: 9.641 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.6248, allocations: 113.8 kB / 0.7276 GB, free: 9.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.6249, allocations: 29.7 kB / 0.7276 GB, free: 9.484 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.6249, allocations: 84.14 kB / 0.7277 GB, free: 9.398 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.6249, allocations: 15.81 kB / 0.7277 GB, free: 9.383 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.625, allocations: 21.7 kB / 0.7277 GB, free: 9.355 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6251, allocations: 314.8 kB / 0.728 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-05/0.6252, allocations: 23.97 kB / 0.7281 GB, free: 9.016 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.164e-05/0.6253, allocations: 19.98 kB / 0.7281 GB, free: 8.996 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.6255, allocations: 40.83 kB / 0.7281 GB, free: 8.953 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6255, allocations: 7.984 kB / 0.7281 GB, free: 8.945 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002131/0.6257, allocations: 77.59 kB / 0.7282 GB, free: 8.863 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.6258, allocations: 8 kB / 0.7282 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.6258, allocations: 0 / 0.7282 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.6258, allocations: 0 / 0.7282 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7e-05/0.6259, allocations: 4 kB / 0.7282 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.6259, allocations: 7.984 kB / 0.7282 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.626, allocations: 15.98 kB / 0.7282 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.626, allocations: 0 / 0.7282 GB, free: 8.828 MB / 0.545 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 (onOffController.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.6262, allocations: 117.8 kB / 0.7284 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.6262, allocations: 3.906 kB / 0.7284 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.6265, allocations: 85.48 kB / 0.7284 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.6265, allocations: 0 / 0.7284 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6265, allocations: 4 kB / 0.7284 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6265, allocations: 0 / 0.7284 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.6267, allocations: 173.6 kB / 0.7286 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6267, allocations: 0 / 0.7286 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.745e-05/0.6268, allocations: 4.375 kB / 0.7286 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.6268, allocations: 4 kB / 0.7286 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.6268, allocations: 3.984 kB / 0.7286 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.6268, allocations: 0 / 0.7286 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.6268, allocations: 0 / 0.7286 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.6271, allocations: 175.4 kB / 0.7288 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/0.6271, allocations: 88.95 kB / 0.7289 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.6271, allocations: 7.938 kB / 0.7289 GB, free: 8.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.6273, allocations: 19.97 kB / 0.7289 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.6273, allocations: 0 / 0.7289 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.6274, allocations: 11.98 kB / 0.7289 GB, free: 8.035 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.548e-05/0.6274, allocations: 91.59 kB / 0.729 GB, free: 7.945 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6274, allocations: 0 / 0.729 GB, free: 7.945 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002264/0.6277, allocations: 11.94 kB / 0.729 GB, free: 7.934 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001996/0.6279, allocations: 103.2 kB / 0.7291 GB, free: 7.824 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.6281, allocations: 43.97 kB / 0.7292 GB, free: 7.781 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6282, allocations: 0 / 0.7292 GB, free: 7.781 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.6283, allocations: 31.91 kB / 0.7292 GB, free: 7.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.6286, allocations: 7.938 kB / 0.7292 GB, free: 7.742 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.629, allocations: 129.5 kB / 0.7293 GB, free: 7.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.6294, allocations: 0.6806 MB / 0.73 GB, free: 6.883 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.842e-05/0.6294, allocations: 11.91 kB / 0.73 GB, free: 6.871 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.6294, allocations: 7.438 kB / 0.73 GB, free: 6.863 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6295, allocations: 4 kB / 0.73 GB, free: 6.859 MB / 0.545 GB Notification: Performance of Templates: time 0.003393/0.6329, allocations: 0.8169 MB / 0.7308 GB, free: 6.059 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)