Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.3 MB / 0.6653 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004771/0.0004773, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7766/0.7771, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.0007838/0.778, allocations: 460 kB / 0.954 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.7794, allocations: 1.194 MB / 0.9552 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.315e-05/0.7795, allocations: 0 / 0.9552 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.017e-05/0.7795, allocations: 9.078 kB / 0.9552 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.7796, allocations: 18.94 kB / 0.9552 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007138/0.7804, allocations: 222 kB / 0.9554 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.7806, allocations: 131.5 kB / 0.9556 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.7807, allocations: 10.66 kB / 0.9556 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.7809, allocations: 88.45 kB / 0.9557 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.7811, allocations: 77.95 kB / 0.9557 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.988e-05/0.7811, allocations: 12.75 kB / 0.9558 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.7812, allocations: 25.42 kB / 0.9558 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.53e-05/0.7813, allocations: 27.34 kB / 0.9558 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.352e-05/0.7814, allocations: 49.39 kB / 0.9559 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.7815, allocations: 158.2 kB / 0.956 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.7815, allocations: 0 / 0.956 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.083e-06/0.7816, allocations: 0 / 0.956 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.7816, allocations: 3.938 kB / 0.956 GB, free: 6.238 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000636/0.7822, allocations: 459.8 kB / 0.9564 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.7823, allocations: 13.28 kB / 0.9565 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.7823, allocations: 41.92 kB / 0.9565 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.269e-05/0.7824, allocations: 23.73 kB / 0.9565 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006012/0.783, allocations: 260.5 kB / 0.9568 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.7831, allocations: 12.67 kB / 0.9568 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.7831, allocations: 19.16 kB / 0.9568 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.7834, allocations: 134.2 kB / 0.9569 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.7834, allocations: 0 / 0.9569 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.7834, allocations: 10.08 kB / 0.9569 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.7834, allocations: 6.047 kB / 0.9569 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.7835, allocations: 58.8 kB / 0.957 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007612/0.7843, allocations: 0.5256 MB / 0.9575 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.7846, allocations: 157.7 kB / 0.9577 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.7846, allocations: 1.156 kB / 0.9577 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002881/0.7849, allocations: 211.2 kB / 0.9579 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.392e-06/0.7849, allocations: 0 / 0.9579 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.0005432/0.7854, allocations: 308.6 kB / 0.9582 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.7855, allocations: 98.06 kB / 0.9583 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.493e-05/0.7856, allocations: 131.7 kB / 0.9584 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.7856, allocations: 36.58 kB / 0.9584 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.7857, allocations: 98.22 kB / 0.9585 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.7857, allocations: 51.38 kB / 0.9586 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.7858, allocations: 9.031 kB / 0.9586 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.7858, allocations: 325.5 kB / 0.9589 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.786, allocations: 84.39 kB / 0.959 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.7862, allocations: 153.9 kB / 0.9591 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.7864, allocations: 138.2 kB / 0.9592 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7864, allocations: 3.938 kB / 0.9592 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006478/0.7871, allocations: 356 kB / 0.9596 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.029e-05/0.7871, allocations: 74.19 kB / 0.9596 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.7872, allocations: 5.781 kB / 0.9597 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.7872, allocations: 3.938 kB / 0.9597 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.7873, allocations: 16.56 kB / 0.9597 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.7873, allocations: 11.03 kB / 0.9597 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.7877, allocations: 91.92 kB / 0.9598 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.7878, allocations: 17.06 kB / 0.9598 GB, free: 3.043 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001282/0.7879, allocations: 139.1 kB / 0.9599 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.7879, allocations: 16.2 kB / 0.9599 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.788, allocations: 18.11 kB / 0.96 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.788, allocations: 3.625 kB / 0.96 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.788, allocations: 4 kB / 0.96 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.788, allocations: 0.9688 kB / 0.96 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005493/0.7886, allocations: 0.6159 MB / 0.9606 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.7886, allocations: 1.375 kB / 0.9606 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.7886, allocations: 10.81 kB / 0.9606 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.7886, allocations: 5.328 kB / 0.9606 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.7887, allocations: 14.67 kB / 0.9606 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.7887, allocations: 5.375 kB / 0.9606 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7887, allocations: 1.375 kB / 0.9606 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/0.7891, allocations: 430.1 kB / 0.961 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/0.7892, allocations: 93.31 kB / 0.9611 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/0.7892, allocations: 12.3 kB / 0.9611 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.7894, allocations: 14.55 kB / 0.9611 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.064e-05/0.7895, allocations: 22.28 kB / 0.9611 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.7895, allocations: 16.77 kB / 0.9612 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.4e-05/0.7896, allocations: 92.98 kB / 0.9613 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7896, allocations: 96 / 0.9613 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004402/0.79, allocations: 62.86 kB / 0.9613 GB, free: 1.785 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0008692/0.7909, allocations: 1.05 MB / 0.9623 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006331/0.7916, allocations: 343 kB / 0.9627 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7916, allocations: 0 / 0.9627 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.7918, allocations: 124.4 kB / 0.9628 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.7921, allocations: 21.17 kB / 0.9628 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.7938, allocations: 1.751 MB / 0.9645 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.7942, allocations: 0.7179 MB / 0.9652 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.494e-05/0.7943, allocations: 14.92 kB / 0.9652 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.404e-05/0.7944, allocations: 45.36 kB / 0.9653 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of SimCode: time 6.42e-07/0.7944, allocations: 0 / 0.9653 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.8115, allocations: 3.587 MB / 0.9688 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.8118, allocations: 180.9 kB / 0.9689 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.63, allocations: 0 / 0.9689 GB, free: 12.1 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat does not exist to compare? outputFormat=mat