Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 249.5 MB / 257 MB, free: 6.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 172.9 kB / 316.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.3 MB / 0.5671 GB, free: 15.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000838/0.000838, allocations: 92.45 kB / 0.6714 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.61e-05/1.612e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2363, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7581/0.9945, allocations: 131.6 MB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.9947, allocations: 70.95 kB / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001641/0.9964, allocations: 0.6535 MB / 1.014 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9964, allocations: 0 / 1.014 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.9964, allocations: 0 / 1.014 GB, free: 5.52 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000376/0.9968, allocations: 338.5 kB / 1.015 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.9968, allocations: 11.97 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.9969, allocations: 7.688 kB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.997, allocations: 170.9 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.9971, allocations: 6.688 kB / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.9971, allocations: 0 / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.12e-05/0.9971, allocations: 11.88 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.446e-05/0.9972, allocations: 33.69 kB / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.9972, allocations: 0 / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.9973, allocations: 0 / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.9973, allocations: 4 kB / 1.015 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.9976, allocations: 240.7 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.998, allocations: 90.08 kB / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.415e-05/0.998, allocations: 9.672 kB / 1.015 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.998, allocations: 0 / 1.015 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.9981, allocations: 55.38 kB / 1.015 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.9981, allocations: 2.625 kB / 1.015 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001403/0.9983, allocations: 56.44 kB / 1.015 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.9983, allocations: 51.41 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.275e-05/0.9984, allocations: 96.88 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.9984, allocations: 25.7 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.9985, allocations: 95.69 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.9985, allocations: 11.75 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.9985, allocations: 0 / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.9987, allocations: 318.6 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/0.9987, allocations: 12 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.686e-05/0.9987, allocations: 17.59 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.234e-05/0.9988, allocations: 11.48 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.9988, allocations: 0 / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.683e-05/0.9988, allocations: 53.56 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.9989, allocations: 4 kB / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.9989, allocations: 0 / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.9989, allocations: 4 kB / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.744e-05/0.9989, allocations: 4.031 kB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.9989, allocations: 4 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/0.999, allocations: 4 kB / 1.016 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.999, allocations: 3.938 kB / 1.016 GB, free: 3.66 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.9991, allocations: 113 kB / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.9991, allocations: 7.891 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.9992, allocations: 12.03 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.9992, allocations: 3.938 kB / 1.016 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.9992, allocations: 4 kB / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.9992, allocations: 0 / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.9993, allocations: 142.1 kB / 1.016 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.9993, allocations: 4 kB / 1.016 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-05/0.9994, allocations: 3.938 kB / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.9994, allocations: 0 / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.9994, allocations: 0 / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.9994, allocations: 4 kB / 1.016 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9994, allocations: 0 / 1.016 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.912e-05/0.9995, allocations: 76.75 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.9995, allocations: 81.06 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.9996, allocations: 3.984 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.821e-05/0.9996, allocations: 4 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.9997, allocations: 7.984 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.9997, allocations: 0 / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.132e-05/0.9997, allocations: 86.97 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9997, allocations: 0 / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001727/0.9999, allocations: 8 kB / 1.017 GB, free: 3.039 MB / 0.6355 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,booPul.y,booPul.pulseStart) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001158/1, allocations: 99.19 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.021e-05/1, allocations: 31.55 kB / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/1, allocations: 0 / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.253e-05/1, allocations: 11.81 kB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/1, allocations: 4 kB / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002199/1.001, allocations: 75.45 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/1.001, allocations: 0.6885 MB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.539e-05/1.001, allocations: 0 / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/1.001, allocations: 11.44 kB / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/1.001, allocations: 7.875 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.002164/1.003, allocations: 458.8 kB / 1.018 GB, free: 1.637 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches