Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001373/0.001373, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001569/0.001569, allocations: 194 kB / 16.14 MB, free: 6.652 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.629/1.629, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.073/3.073, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 61.09 kB / 0.8984 GB, free: 37.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3864, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002255/0.3887, allocations: 0.6805 MB / 1.053 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.3904, allocations: 1.127 MB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.462e-05/0.3905, allocations: 0 / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.347e-05/0.3906, allocations: 0 / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.791e-05/0.3907, allocations: 11.92 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.3912, allocations: 106.9 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.3913, allocations: 79.83 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3915, allocations: 12 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.703e-05/0.3915, allocations: 27.97 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.3917, allocations: 35.83 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.3917, allocations: 4 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.168e-05/0.3918, allocations: 11.98 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.3918, allocations: 8 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.611e-05/0.3919, allocations: 27.84 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.3921, allocations: 87.72 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3921, allocations: 0 / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3922, allocations: 8 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.3922, allocations: 0 / 1.054 GB, free: 6.633 MB / 0.8106 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.00057/0.3928, allocations: 377.3 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.3928, allocations: 12.03 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.3929, allocations: 4.938 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.393, allocations: 164.4 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.3931, allocations: 8.375 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.3931, allocations: 4.375 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.3932, allocations: 38.25 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3932, allocations: 4.188 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.3932, allocations: 7.938 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3933, allocations: 0 / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.258e-05/0.3933, allocations: 7.938 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.3938, allocations: 300.7 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.409e-05/0.3939, allocations: 26.52 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.408e-05/0.394, allocations: 20.91 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.394, allocations: 0 / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.3942, allocations: 67.33 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.3942, allocations: 0 / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002505/0.3945, allocations: 61.69 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.91e-05/0.3946, allocations: 59.41 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.3947, allocations: 105.8 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.3948, allocations: 29.7 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.3949, allocations: 92.05 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.3949, allocations: 11.88 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.395, allocations: 33.7 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3951, allocations: 314.8 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.668e-05/0.3952, allocations: 27.98 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.3953, allocations: 54.48 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.3955, allocations: 84.28 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3955, allocations: 3.938 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003175/0.3958, allocations: 147.3 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.836e-05/0.3959, allocations: 41.64 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3959, allocations: 0 / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3959, allocations: 4 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.896e-05/0.396, allocations: 7.875 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.396, allocations: 8.062 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.3963, allocations: 31.86 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.3963, allocations: 8.062 kB / 1.056 GB, free: 4.238 MB / 0.8106 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.0001682/0.3965, allocations: 117.8 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.3965, allocations: 4 kB / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.3965, allocations: 7.891 kB / 1.056 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3965, allocations: 240 / 1.056 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3965, allocations: 4 kB / 1.056 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3965, allocations: 0 / 1.056 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.3967, allocations: 169.6 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3967, allocations: 0 / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.029e-05/0.3967, allocations: 7.984 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.3967, allocations: 0 / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.3967, allocations: 0 / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3968, allocations: 0 / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3968, allocations: 0 / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.3969, allocations: 92.91 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.397, allocations: 81.11 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.397, allocations: 7.984 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.377e-05/0.397, allocations: 0 / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.397, allocations: 4 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.397, allocations: 0 / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.861e-05/0.3971, allocations: 87.27 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3971, allocations: 0 / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002212/0.3973, allocations: 16 kB / 1.057 GB, free: 3.551 MB / 0.8106 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.000177/0.3975, allocations: 103.2 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002605/0.3978, allocations: 127.3 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3978, allocations: 0 / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.414e-05/0.3978, allocations: 15.98 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.3981, allocations: 12.05 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.3985, allocations: 143.9 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.3988, allocations: 0.677 MB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.387e-05/0.3988, allocations: 4 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.803e-05/0.3989, allocations: 7.438 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of SimCode: time 2.385e-06/0.3989, allocations: 4 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of Templates: time 0.003715/0.4026, allocations: 1.031 MB / 1.059 GB, free: 1.383 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches