Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009449/0.009449, allocations: 107.6 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001151/0.001151, allocations: 185.8 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.99/1.99, allocations: 194.5 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.175/2.175, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.0004743, allocations: 12 kB / 0.5869 GB, free: 2.152 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5766/0.5771, allocations: 98.71 MB / 0.6833 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001906/0.5791, allocations: 1.022 MB / 0.6843 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0005407/0.5796, allocations: 180 kB / 0.6845 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.5797, allocations: 1.375 kB / 0.6845 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.316e-05/0.5797, allocations: 5.016 kB / 0.6845 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.989e-05/0.5798, allocations: 9.656 kB / 0.6845 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.58, allocations: 8.078 kB / 0.6845 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.025e-05/0.5801, allocations: 17.31 kB / 0.6845 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.577e-05/0.5802, allocations: 7.812 kB / 0.6846 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.879e-05/0.5803, allocations: 10.62 kB / 0.6846 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.633e-05/0.5804, allocations: 13.39 kB / 0.6846 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.5804, allocations: 5.125 kB / 0.6846 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.612e-05/0.5805, allocations: 2.625 kB / 0.6846 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.5805, allocations: 1.219 kB / 0.6846 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.5805, allocations: 28.2 kB / 0.6846 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 8.939e-05/0.5807, allocations: 32.02 kB / 0.6846 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.149e-06/0.5807, allocations: 0 / 0.6846 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.536e-06/0.5807, allocations: 3.938 kB / 0.6846 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.927e-06/0.5807, allocations: 1.219 kB / 0.6846 GB, free: 15.64 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000504/0.5812, allocations: 341 kB / 0.685 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.5813, allocations: 10.2 kB / 0.685 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.5813, allocations: 5.094 kB / 0.685 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.589e-05/0.5814, allocations: 175.5 kB / 0.6852 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.5815, allocations: 1.125 kB / 0.6852 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.5815, allocations: 2.125 kB / 0.6852 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.565e-05/0.5816, allocations: 39.69 kB / 0.6852 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.568e-06/0.5816, allocations: 0 / 0.6852 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.5816, allocations: 4.734 kB / 0.6852 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.5817, allocations: 1 kB / 0.6852 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.728e-05/0.5817, allocations: 13.09 kB / 0.6852 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.5821, allocations: 261.2 kB / 0.6855 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/0.5825, allocations: 96.58 kB / 0.6856 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.5825, allocations: 1.531 kB / 0.6856 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.5826, allocations: 53.75 kB / 0.6856 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.38e-06/0.5826, allocations: 0 / 0.6856 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001887/0.5828, allocations: 65.89 kB / 0.6857 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.5829, allocations: 53.5 kB / 0.6857 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.148e-05/0.583, allocations: 112.6 kB / 0.6858 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.583, allocations: 31.14 kB / 0.6859 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.966e-05/0.583, allocations: 81.98 kB / 0.6859 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.5831, allocations: 9.562 kB / 0.6859 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-06/0.5831, allocations: 1.438 kB / 0.6859 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.092e-05/0.5831, allocations: 314 kB / 0.6862 GB, free: 14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.169e-05/0.5832, allocations: 7.891 kB / 0.6863 GB, free: 14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.961e-05/0.5832, allocations: 22.3 kB / 0.6863 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.467e-05/0.5833, allocations: 12.88 kB / 0.6863 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.371e-06/0.5833, allocations: 0 / 0.6863 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001179/0.5834, allocations: 58.83 kB / 0.6863 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.5834, allocations: 5.062 kB / 0.6863 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.45e-06/0.5835, allocations: 1.766 kB / 0.6864 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.5835, allocations: 0 / 0.6864 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.48e-05/0.5835, allocations: 5.094 kB / 0.6864 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.956e-06/0.5835, allocations: 0 / 0.6864 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/0.5836, allocations: 24.28 kB / 0.6864 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.119e-06/0.5836, allocations: 5.562 kB / 0.6864 GB, free: 13.91 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.02e-05/0.5837, allocations: 117.1 kB / 0.6865 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.5837, allocations: 2.25 kB / 0.6865 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.5838, allocations: 10.19 kB / 0.6865 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.498e-06/0.5838, allocations: 1.344 kB / 0.6865 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.254e-06/0.5838, allocations: 384 / 0.6865 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5838, allocations: 0.7031 kB / 0.6865 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.5839, allocations: 168.2 kB / 0.6867 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.682e-06/0.5839, allocations: 4 kB / 0.6867 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/0.584, allocations: 10.03 kB / 0.6867 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.584, allocations: 1.125 kB / 0.6867 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.759e-06/0.584, allocations: 2.016 kB / 0.6867 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.142e-06/0.584, allocations: 0 / 0.6867 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.516e-06/0.584, allocations: 0 / 0.6867 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.5842, allocations: 92.52 kB / 0.6868 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.5842, allocations: 78.75 kB / 0.6869 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.5842, allocations: 1.094 kB / 0.6869 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.686e-05/0.5843, allocations: 10.97 kB / 0.6869 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.5844, allocations: 5.109 kB / 0.6869 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.5844, allocations: 1.547 kB / 0.6869 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.79e-05/0.5844, allocations: 86.42 kB / 0.687 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.24e-07/0.5844, allocations: 1.438 kB / 0.687 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002464/0.5847, allocations: 5.812 kB / 0.687 GB, free: 13.3 MB / 0.5261 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,booPul.y,booPul.pulseStart) * 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 (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 9.04e-05/0.5848, allocations: 103.2 kB / 0.6871 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.5849, allocations: 26.56 kB / 0.6871 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.49e-06/0.5849, allocations: 0 / 0.6871 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.111e-05/0.585, allocations: 17.97 kB / 0.6871 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.5852, allocations: 9.281 kB / 0.6871 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.5855, allocations: 135.4 kB / 0.6872 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.5856, allocations: 0.6859 MB / 0.6879 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.834e-05/0.5857, allocations: 3.484 kB / 0.6879 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.5857, allocations: 8.469 kB / 0.6879 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of SimCode: time 1.242e-06/0.5857, allocations: 0 / 0.6879 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of Templates: time 0.002755/0.5885, allocations: 479.5 kB / 0.6884 GB, free: 12.29 MB / 0.5261 GB