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.007283/0.007282, allocations: 98.8 kB / 15.73 MB, free: 6.039 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.001567/0.001567, allocations: 193.7 kB / 16.67 MB, free: 5.965 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.698/1.698, allocations: 222.9 MB / 240.4 MB, free: 4.301 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 3.001/3.001, allocations: 437 MB / 0.7105 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 60.14 kB / 1.019 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3903, allocations: 151.6 MB / 1.167 GB, free: 6.883 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002393/0.3927, allocations: 0.601 MB / 1.167 GB, free: 6.277 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.3945, allocations: 1.113 MB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.3946, allocations: 4 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.582e-05/0.3946, allocations: 3.938 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.552e-05/0.3947, allocations: 7.922 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005551/0.3953, allocations: 127.2 kB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.3955, allocations: 91.89 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.3956, allocations: 7.984 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.266e-05/0.3957, allocations: 35.91 kB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.3958, allocations: 39.83 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.3959, allocations: 8 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.628e-05/0.396, allocations: 23.98 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.396, allocations: 0 / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.843e-05/0.3961, allocations: 31.91 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.3963, allocations: 91.72 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3963, allocations: 3.938 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3963, allocations: 0 / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.3963, allocations: 0 / 1.169 GB, free: 4.684 MB / 0.92 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.0005268/0.3968, allocations: 385 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3969, allocations: 8.031 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.47e-05/0.3969, allocations: 4.938 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.3971, allocations: 172.4 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.3971, allocations: 384 / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.3972, allocations: 8.375 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.3973, allocations: 46.19 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3973, allocations: 192 / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.3974, allocations: 3.938 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.3974, allocations: 0 / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.587e-05/0.3974, allocations: 15.98 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004899/0.3979, allocations: 296.8 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.126e-05/0.398, allocations: 34.44 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.3981, allocations: 20.86 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.936e-06/0.3981, allocations: 0 / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.3982, allocations: 59.39 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.462e-06/0.3982, allocations: 0 / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002612/0.3985, allocations: 65.69 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.3986, allocations: 51.41 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.3987, allocations: 117.7 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.3987, allocations: 33.7 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.3988, allocations: 84.14 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.3988, allocations: 11.94 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.13e-05/0.3989, allocations: 29.7 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.399, allocations: 310.8 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.874e-05/0.3991, allocations: 31.98 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.687e-05/0.3992, allocations: 54.55 kB / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.3994, allocations: 92.19 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3994, allocations: 3.938 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002638/0.3997, allocations: 151.2 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.313e-05/0.3997, allocations: 35.73 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.3997, allocations: 0 / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3997, allocations: 0 / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.614e-05/0.3998, allocations: 8.062 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3998, allocations: 3.984 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.4, allocations: 27.97 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.4, allocations: 4 kB / 1.171 GB, free: 2.289 MB / 0.92 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.0001019/0.4001, allocations: 121.8 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.4002, allocations: 0 / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.4002, allocations: 11.83 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4002, allocations: 8 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4002, allocations: 0 / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4002, allocations: 0 / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.4003, allocations: 169.7 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4004, allocations: 0 / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.875e-05/0.4004, allocations: 7.922 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.4004, allocations: 0 / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.4004, allocations: 7.938 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4004, allocations: 0 / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4004, allocations: 0 / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.4005, allocations: 89.02 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.616e-05/0.4006, allocations: 77.11 kB / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.4006, allocations: 7.984 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.403e-05/0.4006, allocations: 0 / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.4007, allocations: 0 / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.4007, allocations: 8 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.248e-05/0.4007, allocations: 83.27 kB / 1.171 GB, free: 1.605 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4007, allocations: 0 / 1.171 GB, free: 1.605 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002128/0.4009, allocations: 23.94 kB / 1.171 GB, free: 1.582 MB / 0.92 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.000149/0.4011, allocations: 107.2 kB / 1.171 GB, free: 1.469 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.4013, allocations: 119.7 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4013, allocations: 0 / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.778e-05/0.4014, allocations: 23.92 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.4016, allocations: 7.938 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.4019, allocations: 130.3 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.4021, allocations: 0.6807 MB / 1.172 GB, free: 460 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.477e-05/0.4022, allocations: 7.984 kB / 1.172 GB, free: 452 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.592e-05/0.4022, allocations: 7.438 kB / 1.172 GB, free: 444 kB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.4022, allocations: 0 / 1.172 GB, free: 444 kB / 0.92 GB Notification: Performance of Templates: time 0.003547/0.4057, allocations: 1.077 MB / 1.173 GB, free: 15.37 MB / 0.9356 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