Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_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.001295/0.001295, 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.001293/0.001293, allocations: 195.7 kB / 16.53 MB, free: 6.699 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.852/1.852, allocations: 205.1 MB / 222.4 MB, free: 4.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 292.3 MB / 0.5489 GB, free: 12.79 MB / 462.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.001421/0.001421, allocations: 70.88 kB / 0.6716 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2683, allocations: 114.6 MB / 0.7835 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002232/0.2705, allocations: 0.7565 MB / 0.7842 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.2722, allocations: 1.258 MB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.005e-05/0.2723, allocations: 0 / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.208e-05/0.2723, allocations: 3.938 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.966e-05/0.2724, allocations: 19.8 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006425/0.273, allocations: 257.3 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000244/0.2733, allocations: 259.5 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2734, allocations: 16.22 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.2735, allocations: 95.86 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.2736, allocations: 91.69 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.373e-05/0.2737, allocations: 24 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.529e-05/0.2738, allocations: 39.98 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.436e-05/0.2738, allocations: 23.98 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.2739, allocations: 95.67 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.2742, allocations: 219.7 kB / 0.7866 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2742, allocations: 0 / 0.7866 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2742, allocations: 0 / 0.7866 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.2742, allocations: 0 / 0.7866 GB, free: 10.19 MB / 0.6075 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.000674/0.2749, allocations: 0.4946 MB / 0.787 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2749, allocations: 12.03 kB / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.275, allocations: 42.67 kB / 0.7871 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.275, allocations: 20.84 kB / 0.7871 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005984/0.2756, allocations: 248.3 kB / 0.7873 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.2757, allocations: 16.36 kB / 0.7874 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.2757, allocations: 24.36 kB / 0.7874 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.2759, allocations: 147.2 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.539e-06/0.2759, allocations: 0 / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.276, allocations: 7.984 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-06/0.276, allocations: 0 / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.2761, allocations: 59.95 kB / 0.7876 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006777/0.2768, allocations: 0.5172 MB / 0.7881 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.277, allocations: 153.2 kB / 0.7882 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.664e-05/0.2771, allocations: 69.73 kB / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.2771, allocations: 4 kB / 0.7883 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003209/0.2774, allocations: 205.1 kB / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.2774, allocations: 0 / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0004635/0.2779, allocations: 317.3 kB / 0.7888 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.278, allocations: 93.03 kB / 0.7889 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.98e-05/0.278, allocations: 122 kB / 0.789 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.2781, allocations: 45.69 kB / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.2782, allocations: 96.61 kB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.2782, allocations: 55.34 kB / 0.7892 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.2783, allocations: 77.67 kB / 0.7893 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2784, allocations: 322.8 kB / 0.7896 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.2786, allocations: 88.23 kB / 0.7897 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.2788, allocations: 156.2 kB / 0.7898 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.2791, allocations: 245.9 kB / 0.7901 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2791, allocations: 0 / 0.7901 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005378/0.2797, allocations: 364.5 kB / 0.7904 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.703e-05/0.2797, allocations: 67.39 kB / 0.7905 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.2797, allocations: 4 kB / 0.7905 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.2797, allocations: 4 kB / 0.7905 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.529e-05/0.2798, allocations: 23.86 kB / 0.7905 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.2798, allocations: 4 kB / 0.7905 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.2802, allocations: 68 kB / 0.7906 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.2802, allocations: 19.98 kB / 0.7906 GB, free: 5.691 MB / 0.6075 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 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.2804, allocations: 144 kB / 0.7907 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.2804, allocations: 11.91 kB / 0.7907 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/0.2804, allocations: 12.5 kB / 0.7907 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.2804, allocations: 7.938 kB / 0.7907 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2805, allocations: 0 / 0.7907 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2805, allocations: 11.98 kB / 0.7908 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005804/0.2811, allocations: 0.6031 MB / 0.7913 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2811, allocations: 0 / 0.7913 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.2811, allocations: 8 kB / 0.7914 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.2811, allocations: 7.875 kB / 0.7914 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.2811, allocations: 11.92 kB / 0.7914 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2812, allocations: 4 kB / 0.7914 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.2812, allocations: 4 kB / 0.7914 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.2816, allocations: 421.7 kB / 0.7918 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/0.2816, allocations: 92.94 kB / 0.7919 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.2817, allocations: 15.92 kB / 0.7919 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.2818, allocations: 11.98 kB / 0.7919 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.2819, allocations: 23.97 kB / 0.7919 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.2819, allocations: 19.98 kB / 0.7919 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.727e-05/0.2819, allocations: 102.8 kB / 0.792 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2819, allocations: 3.938 kB / 0.792 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003265/0.2823, allocations: 51.98 kB / 0.7921 GB, free: 4.043 MB / 0.6075 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 (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.0007293/0.283, allocations: 0.9729 MB / 0.793 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004912/0.2835, allocations: 354.5 kB / 0.7934 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2835, allocations: 0 / 0.7934 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.2837, allocations: 119.8 kB / 0.7935 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.2841, allocations: 31.97 kB / 0.7935 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.2863, allocations: 2.257 MB / 0.7957 GB, free: 124 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.2866, allocations: 0.7047 MB / 0.7964 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.651e-05/0.2867, allocations: 21.55 kB / 0.7964 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.2867, allocations: 35.53 kB / 0.7965 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of SimCode: time 4.1e-07/0.2867, allocations: 3.938 kB / 0.7965 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.3057, allocations: 4.053 MB / 0.8004 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.502/7.807, allocations: 11.91 kB / 0.8004 GB, free: 11.36 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)