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.001651/0.001651, allocations: 104.6 kB / 16.27 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 189.9 kB / 17.2 MB, free: 5.598 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.452/1.452, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.559/2.559, allocations: 437.1 MB / 0.7111 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 68.42 kB / 0.8699 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3153, allocations: 151.6 MB / 1.018 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002036/0.3174, allocations: 0.6165 MB / 1.019 GB, free: 9.98 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.3189, allocations: 1.11 MB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.319, allocations: 0 / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.05e-05/0.3191, allocations: 7.922 kB / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.969e-05/0.3191, allocations: 3.938 kB / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.3196, allocations: 120 kB / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.3197, allocations: 103.8 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.19e-05/0.3198, allocations: 4 kB / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.926e-05/0.3199, allocations: 35.95 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.32, allocations: 27.91 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.32, allocations: 8 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.821e-05/0.3201, allocations: 23.98 kB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.3201, allocations: 7.938 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.685e-05/0.3202, allocations: 31.91 kB / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.3203, allocations: 87.78 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3204, allocations: 0 / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3204, allocations: 4 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.3204, allocations: 0 / 1.02 GB, free: 8.402 MB / 0.795 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.0004731/0.3208, allocations: 373.3 kB / 1.02 GB, free: 7.98 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.3209, allocations: 12.03 kB / 1.02 GB, free: 7.969 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.321, allocations: 16.92 kB / 1.02 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3211, allocations: 168.3 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.3211, allocations: 4.375 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.3211, allocations: 4.375 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.867e-05/0.3212, allocations: 42.25 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.3213, allocations: 192 / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3213, allocations: 3.938 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3213, allocations: 0 / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.259e-05/0.3213, allocations: 4 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.3217, allocations: 304.7 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.063e-05/0.3218, allocations: 34.45 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.3218, allocations: 12.91 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.3218, allocations: 0 / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.322, allocations: 59.39 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.322, allocations: 0 / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0001934/0.3222, allocations: 73.62 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.3222, allocations: 59.34 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.976e-05/0.3223, allocations: 105.8 kB / 1.021 GB, free: 6.949 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.3224, allocations: 25.7 kB / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.517e-05/0.3224, allocations: 92.05 kB / 1.021 GB, free: 6.824 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.3225, allocations: 7.891 kB / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.542e-05/0.3225, allocations: 33.7 kB / 1.021 GB, free: 6.777 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3227, allocations: 314.8 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-05/0.3228, allocations: 31.98 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.614e-05/0.3229, allocations: 50.55 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.323, allocations: 84.22 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.323, allocations: 3.938 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002631/0.3233, allocations: 159.2 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.779e-05/0.3234, allocations: 37.7 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.3234, allocations: 0 / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.3234, allocations: 4 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.518e-05/0.3234, allocations: 0 / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.3234, allocations: 4 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.3237, allocations: 31.86 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.3237, allocations: 4.234 kB / 1.022 GB, free: 6.016 MB / 0.795 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.0001032/0.3238, allocations: 125.8 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.3238, allocations: 4 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.3238, allocations: 15.88 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.3239, allocations: 0 / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3239, allocations: 4.062 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3239, allocations: 0 / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.324, allocations: 161.6 kB / 1.022 GB, free: 5.648 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.324, allocations: 0 / 1.022 GB, free: 5.648 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.845e-05/0.324, allocations: 7.984 kB / 1.022 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.3241, allocations: 0 / 1.022 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.3241, allocations: 4 kB / 1.022 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3241, allocations: 0 / 1.022 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3241, allocations: 0 / 1.022 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.3242, allocations: 92.97 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.3243, allocations: 81.05 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.3243, allocations: 3.984 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.343e-05/0.3243, allocations: 0 / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.3243, allocations: 4 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.3243, allocations: 4 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.879e-05/0.3244, allocations: 87.66 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3244, allocations: 4 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002305/0.3247, allocations: 15.94 kB / 1.023 GB, free: 5.312 MB / 0.795 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.0001394/0.3248, allocations: 99.25 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.3251, allocations: 135.3 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3251, allocations: 0 / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.742e-05/0.3251, allocations: 12 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.3253, allocations: 24.28 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.3256, allocations: 158.7 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.326, allocations: 0.6768 MB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.326, allocations: 11.44 kB / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.326, allocations: 0 / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of Templates: time 0.002751/0.3288, allocations: 0.9248 MB / 1.025 GB, free: 3.207 MB / 0.795 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=400 -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/jenkins1/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