Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001874/0.001874, 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.002055/0.002055, allocations: 194.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.775/2.775, allocations: 437 MB / 0.7103 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 63.89 kB / 0.8692 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7785/0.7799, allocations: 151.6 MB / 1.017 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.003207/0.7832, allocations: 0.6163 MB / 1.018 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.7851, allocations: 1.109 MB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.026e-05/0.7852, allocations: 0 / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.849e-05/0.7853, allocations: 7.938 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.688e-05/0.7854, allocations: 3.938 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000663/0.7861, allocations: 118.7 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.7864, allocations: 99.81 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.7865, allocations: 7.938 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.7866, allocations: 31.97 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.7867, allocations: 27.91 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/0.7867, allocations: 8 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.801e-05/0.7869, allocations: 31.92 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.7869, allocations: 3.984 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.278e-05/0.787, allocations: 35.86 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.7872, allocations: 83.84 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.7872, allocations: 0 / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7872, allocations: 0 / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.7872, allocations: 0 / 1.019 GB, free: 440 kB / 0.7637 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.0005828/0.7878, allocations: 383.1 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.7879, allocations: 8.078 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.998e-05/0.7879, allocations: 12.84 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.7881, allocations: 168.4 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.7881, allocations: 384 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.7881, allocations: 8.375 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.7883, allocations: 38.2 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.7883, allocations: 192 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.7883, allocations: 3.938 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.7883, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.626e-05/0.7884, allocations: 15.92 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.7888, allocations: 292.8 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.439e-05/0.7889, allocations: 34.5 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.783e-05/0.7889, allocations: 8.922 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.789, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.7892, allocations: 63.33 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.7892, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002119/0.7894, allocations: 73.69 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.7894, allocations: 51.41 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.936e-05/0.7895, allocations: 105.8 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.7896, allocations: 29.7 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.7896, allocations: 88.12 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.7897, allocations: 15.8 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.506e-05/0.7897, allocations: 29.7 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.7899, allocations: 314.8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.583e-05/0.79, allocations: 31.98 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.744e-05/0.79, allocations: 58.48 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.7902, allocations: 84.33 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.7902, allocations: 3.938 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002731/0.7905, allocations: 147.3 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.278e-05/0.7905, allocations: 41.77 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.7905, allocations: 3.938 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.7906, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.247e-05/0.7906, allocations: 7.938 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.7906, allocations: 7.922 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.7909, allocations: 27.91 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.7909, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 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 0.0001169/0.791, allocations: 126.4 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.7911, allocations: 3.906 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.7911, allocations: 12.12 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.7911, allocations: 3.984 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.7911, allocations: 4 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.7911, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.7913, allocations: 161.6 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7913, allocations: 4 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.704e-05/0.7913, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.7913, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.7913, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.7914, allocations: 8 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7914, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.7915, allocations: 89 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.7915, allocations: 85 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.7916, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.396e-05/0.7916, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.7916, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.7916, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.672e-05/0.7917, allocations: 95.66 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7917, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002614/0.792, allocations: 16 kB / 1.022 GB, free: 13.34 MB / 0.7794 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.0001628/0.7921, allocations: 99.25 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.7924, allocations: 131.3 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7924, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.615e-05/0.7925, allocations: 16 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.7927, allocations: 20.28 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.793, allocations: 130.1 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.7933, allocations: 0.6768 MB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.443e-05/0.7934, allocations: 4 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.7934, allocations: 15.38 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of SimCode: time 2.545e-06/0.7934, allocations: 8 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of Templates: time 0.004306/0.7977, allocations: 1.07 MB / 1.024 GB, free: 11.12 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches