Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9643/0.9643, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.784/1.784, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.996e-05, allocations: 3.297 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001133/0.001153, allocations: 0.6108 MB / 0.7877 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.002207, allocations: 1.161 MB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.655e-05/0.002243, allocations: 0 / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.002269, allocations: 0 / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.007e-05/0.002339, allocations: 15.86 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.002713, allocations: 122 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.002842, allocations: 91.83 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.73e-05/0.002919, allocations: 0 / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.706e-05/0.002996, allocations: 55.89 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.969e-05/0.003076, allocations: 27.89 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.003097, allocations: 9.844 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.219e-05/0.003149, allocations: 20 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.003167, allocations: 3.984 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.268e-05/0.00321, allocations: 27.97 kB / 0.7892 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.003339, allocations: 75.77 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003341, allocations: 4.562 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003342, allocations: 1.438 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.003346, allocations: 0 / 0.7892 GB, free: 10.29 MB / 0.7448 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.0003944/0.00374, allocations: 402.3 kB / 0.7896 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.003779, allocations: 8.031 kB / 0.7896 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.003831, allocations: 6.031 kB / 0.7896 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.419e-05/0.003915, allocations: 120.5 kB / 0.7898 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.003933, allocations: 4.375 kB / 0.7898 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.003948, allocations: 5.156 kB / 0.7898 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.289e-05/0.004031, allocations: 50.94 kB / 0.7898 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.004038, allocations: 1.125 kB / 0.7898 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.004049, allocations: 4.359 kB / 0.7898 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.004056, allocations: 2.969 kB / 0.7898 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.57e-05/0.004082, allocations: 11.94 kB / 0.7898 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.00438, allocations: 283.8 kB / 0.7901 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.984e-05/0.00443, allocations: 34.98 kB / 0.7901 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/0.004448, allocations: 11.75 kB / 0.7901 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.63e-06/0.004454, allocations: 0 / 0.7901 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.597e-05/0.00453, allocations: 65.77 kB / 0.7902 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.004531, allocations: 3.938 kB / 0.7902 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001549/0.004686, allocations: 70.05 kB / 0.7903 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.004718, allocations: 61.05 kB / 0.7903 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.042e-05/0.004788, allocations: 165.9 kB / 0.7905 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.004804, allocations: 29.7 kB / 0.7905 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.004848, allocations: 130.9 kB / 0.7906 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.004863, allocations: 15.94 kB / 0.7907 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.004904, allocations: 35.89 kB / 0.7907 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.005, allocations: 492.7 kB / 0.7912 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.089e-05/0.005061, allocations: 57.67 kB / 0.7912 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.27e-05/0.005124, allocations: 89.89 kB / 0.7913 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.323e-05/0.005197, allocations: 81.86 kB / 0.7914 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.005199, allocations: 0 / 0.7914 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001598/0.005359, allocations: 182.3 kB / 0.7916 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.005384, allocations: 37.64 kB / 0.7916 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.005388, allocations: 0 / 0.7916 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.005403, allocations: 9.734 kB / 0.7916 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.319e-05/0.005446, allocations: 0 / 0.7916 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.005452, allocations: 8.062 kB / 0.7916 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.005556, allocations: 19.98 kB / 0.7916 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.005568, allocations: 5.281 kB / 0.7916 GB, free: 7.574 MB / 0.7448 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,booPul.y,$PRE.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.631e-05/0.005634, allocations: 164.5 kB / 0.7918 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.005643, allocations: 12.8 kB / 0.7918 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.014e-05/0.005663, allocations: 7.938 kB / 0.7918 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.005664, allocations: 0 / 0.7918 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.005669, allocations: 5.188 kB / 0.7918 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.005672, allocations: 0 / 0.7918 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.645e-05/0.005739, allocations: 116.6 kB / 0.7919 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.005739, allocations: 1.344 kB / 0.7919 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-06/0.005747, allocations: 4.062 kB / 0.7919 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.005749, allocations: 4 kB / 0.7919 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.005756, allocations: 1.531 kB / 0.7919 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.005757, allocations: 3.938 kB / 0.7919 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.00576, allocations: 3.984 kB / 0.7919 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.164e-05/0.005842, allocations: 100.6 kB / 0.792 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-06/0.005848, allocations: 10.7 kB / 0.7921 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.005858, allocations: 4 kB / 0.7921 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-06/0.005866, allocations: 3.938 kB / 0.7921 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.005893, allocations: 3.984 kB / 0.7921 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.005897, allocations: 0 / 0.7921 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.489e-05/0.005931, allocations: 131.2 kB / 0.7922 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005932, allocations: 0 / 0.7922 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001321/0.006064, allocations: 19.98 kB / 0.7922 GB, free: 6.926 MB / 0.7448 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.0001094/0.006173, allocations: 100.2 kB / 0.7923 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001734/0.006346, allocations: 150.6 kB / 0.7925 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.006349, allocations: 4 kB / 0.7925 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.438e-05/0.006373, allocations: 15.69 kB / 0.7925 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.006514, allocations: 8.828 kB / 0.7925 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002201/0.006734, allocations: 130.1 kB / 0.7926 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.953e-05/0.006763, allocations: 60.19 kB / 0.7927 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.436e-05/0.006778, allocations: 4 kB / 0.7927 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.638e-05/0.006794, allocations: 9.156 kB / 0.7927 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of SimCode: time 5.92e-07/0.006795, allocations: 0.7188 kB / 0.7927 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of Templates: time 0.002816/0.009611, allocations: 1.303 MB / 0.7939 GB, free: 5.121 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.021317175123841]