Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.01/2.01, allocations: 306.1 MB / 321.4 MB, free: 10.79 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 183.4 kB / 393.1 MB, free: 4.09 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007754/0.0007754, allocations: 98.05 kB / 0.7935 GB, free: 40 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003724, allocations: 10.09 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7171/0.7175, allocations: 121.3 MB / 1.041 GB, free: 58.11 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001003/0.7185, allocations: 347.1 kB / 1.041 GB, free: 57.98 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.7201, allocations: 1.248 MB / 1.042 GB, free: 57 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.523e-05/0.7201, allocations: 0.9062 kB / 1.042 GB, free: 57 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.7202, allocations: 1.375 kB / 1.042 GB, free: 57 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.507e-05/0.7202, allocations: 9.719 kB / 1.042 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004782/0.7207, allocations: 113.7 kB / 1.043 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.7209, allocations: 79.97 kB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.721, allocations: 11.22 kB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.571e-05/0.7211, allocations: 27.67 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.336e-05/0.7212, allocations: 28.62 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.7212, allocations: 5.562 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.119e-05/0.7213, allocations: 18.33 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.7213, allocations: 3.047 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.787e-05/0.7214, allocations: 56.91 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.7215, allocations: 81.06 kB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.7216, allocations: 0 / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7216, allocations: 0.5 kB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.7216, allocations: 0.9688 kB / 1.043 GB, free: 56.81 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003948/0.722, allocations: 369.4 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.722, allocations: 10.25 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.7221, allocations: 13.12 kB / 1.043 GB, free: 56.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.606e-05/0.7222, allocations: 164.6 kB / 1.043 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.7222, allocations: 2.656 kB / 1.043 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.7222, allocations: 8.781 kB / 1.043 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.7224, allocations: 34.77 kB / 1.043 GB, free: 56.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.7224, allocations: 2.297 kB / 1.043 GB, free: 56.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.7224, allocations: 5.453 kB / 1.043 GB, free: 56.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.7224, allocations: 3.156 kB / 1.043 GB, free: 56.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.012e-05/0.7224, allocations: 9.344 kB / 1.043 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.7228, allocations: 297.5 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.134e-05/0.7229, allocations: 29.42 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.618e-05/0.7229, allocations: 14.88 kB / 1.044 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.7229, allocations: 2.062 kB / 1.044 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.7231, allocations: 60.95 kB / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.7231, allocations: 3.938 kB / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001875/0.7233, allocations: 72.73 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.7233, allocations: 53.38 kB / 1.044 GB, free: 55.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.733e-05/0.7234, allocations: 111 kB / 1.044 GB, free: 55.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.7234, allocations: 29.61 kB / 1.044 GB, free: 55.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.7235, allocations: 86.84 kB / 1.044 GB, free: 55.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.7235, allocations: 8.766 kB / 1.044 GB, free: 55.44 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.7235, allocations: 6.156 kB / 1.044 GB, free: 55.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.054e-05/0.7236, allocations: 316 kB / 1.044 GB, free: 55.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.361e-05/0.7236, allocations: 27 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.451e-05/0.7237, allocations: 51.12 kB / 1.045 GB, free: 55.08 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.935e-05/0.7238, allocations: 89.17 kB / 1.045 GB, free: 55.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.7238, allocations: 5.719 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002165/0.7241, allocations: 147.5 kB / 1.045 GB, free: 54.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.7241, allocations: 42.95 kB / 1.045 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.7241, allocations: 3.219 kB / 1.045 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.7241, allocations: 0 / 1.045 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.137e-05/0.7242, allocations: 6.094 kB / 1.045 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.7242, allocations: 3.938 kB / 1.045 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.7244, allocations: 38.44 kB / 1.045 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.7245, allocations: 8.484 kB / 1.045 GB, free: 54.86 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 6.595e-05/0.7245, allocations: 124.3 kB / 1.045 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.7246, allocations: 9.188 kB / 1.045 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.7246, allocations: 5.031 kB / 1.045 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.7246, allocations: 0.5625 kB / 1.045 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7246, allocations: 4.594 kB / 1.045 GB, free: 54.72 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.7246, allocations: 9.312 kB / 1.045 GB, free: 54.72 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.29e-05/0.7247, allocations: 164.1 kB / 1.045 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7247, allocations: 0 / 1.045 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.586e-05/0.7247, allocations: 4.031 kB / 1.045 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.7247, allocations: 0 / 1.045 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.7248, allocations: 1.969 kB / 1.045 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7248, allocations: 0 / 1.045 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.7248, allocations: 6.406 kB / 1.045 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.441e-05/0.7249, allocations: 84.55 kB / 1.045 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.7249, allocations: 83.77 kB / 1.045 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.7249, allocations: 7.656 kB / 1.045 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.364e-05/0.7249, allocations: 0 / 1.045 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.725, allocations: 4.219 kB / 1.045 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.725, allocations: 0 / 1.045 GB, free: 54.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.269e-05/0.725, allocations: 92.8 kB / 1.045 GB, free: 54.26 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.1e-08/0.725, allocations: 0 / 1.045 GB, free: 54.26 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000198/0.7252, allocations: 18.81 kB / 1.045 GB, free: 54.25 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001227/0.7253, allocations: 110 kB / 1.046 GB, free: 54.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001863/0.7255, allocations: 126 kB / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.7256, allocations: 0 / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.186e-05/0.7256, allocations: 16.58 kB / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.7258, allocations: 11 kB / 1.046 GB, free: 54.06 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/0.7261, allocations: 138 kB / 1.046 GB, free: 53.94 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.7262, allocations: 0.6787 MB / 1.047 GB, free: 53.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.952e-05/0.7262, allocations: 2.438 kB / 1.047 GB, free: 53.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.488e-05/0.7262, allocations: 11 kB / 1.047 GB, free: 53.24 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/0.7262, allocations: 0 / 1.047 GB, free: 53.24 MB / 0.698 GB Notification: Performance of Templates: time 0.003303/0.7296, allocations: 1.031 MB / 1.048 GB, free: 53.13 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)