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.001506/0.001506, allocations: 114.7 kB / 16.42 MB, free: 6.492 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.001699/0.001699, allocations: 190.5 kB / 17.35 MB, free: 5.762 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.15 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.497/2.497, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 71.89 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9215/0.9229, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001877/0.9248, allocations: 0.6168 MB / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.9265, allocations: 1.115 MB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.672e-05/0.9266, allocations: 0 / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.634e-05/0.9266, allocations: 3.938 kB / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.127e-05/0.9267, allocations: 11.91 kB / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006021/0.9273, allocations: 121.8 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.9275, allocations: 91.89 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.514e-05/0.9276, allocations: 4 kB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.298e-05/0.9277, allocations: 43.89 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.9278, allocations: 31.89 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.9279, allocations: 8 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-05/0.928, allocations: 24 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.928, allocations: 7.984 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.403e-05/0.9281, allocations: 35.91 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.9282, allocations: 83.72 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.9283, allocations: 0 / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9283, allocations: 0 / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.9283, allocations: 0 / 1.169 GB, free: 1.648 MB / 0.8887 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.0005323/0.9288, allocations: 377 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.9289, allocations: 8.031 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.9289, allocations: 8.875 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.9291, allocations: 176.3 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.9291, allocations: 384 / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.9291, allocations: 4.375 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.9292, allocations: 42.25 kB / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.9292, allocations: 192 / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.9293, allocations: 3.938 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.9293, allocations: 0 / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.556e-05/0.9293, allocations: 15.94 kB / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.9298, allocations: 286.7 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.358e-05/0.9299, allocations: 34.52 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.804e-05/0.9299, allocations: 12.92 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.9299, allocations: 7.969 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.9301, allocations: 59.34 kB / 1.17 GB, free: 476 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.9301, allocations: 0 / 1.17 GB, free: 476 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002241/0.9303, allocations: 77.52 kB / 1.17 GB, free: 392 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.9304, allocations: 55.41 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.9305, allocations: 113.8 kB / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.9305, allocations: 29.7 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.484e-05/0.9306, allocations: 80.14 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.9306, allocations: 11.91 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.816e-05/0.9307, allocations: 29.7 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.9308, allocations: 318.8 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-05/0.9309, allocations: 27.98 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.506e-05/0.931, allocations: 62.48 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.9311, allocations: 80.27 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.9311, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002568/0.9314, allocations: 155.1 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.9315, allocations: 37.69 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.9315, allocations: 4.062 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.9315, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.185e-05/0.9316, allocations: 11.94 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.9316, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.9318, allocations: 27.91 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.9318, allocations: 7.984 kB / 1.171 GB, free: 15.26 MB / 0.9044 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 9.81e-05/0.9319, allocations: 124.8 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.9319, allocations: 8 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.932, allocations: 3.906 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.932, allocations: 64 / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.932, allocations: 4 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/0.932, allocations: 89 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.9321, allocations: 0 / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.493e-05/0.9321, allocations: 0 / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.9321, allocations: 11.94 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001168/0.9322, allocations: 136.9 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001431/0.9324, allocations: 226.8 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.548e-05/0.9324, allocations: 15.98 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.043e-05/0.9325, allocations: 83.28 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of Backend: time 3e-07/0.9325, allocations: 0 / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005085/0.933, allocations: 201.7 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005422/0.9335, allocations: 0.5786 MB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of Templates: time 0.003939/0.9375, allocations: 1.116 MB / 1.174 GB, free: 12.57 MB / 0.9044 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/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