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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00718/0.00718, allocations: 101.6 kB / 15.73 MB, free: 6.059 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.001675/0.001675, allocations: 190.6 kB / 16.67 MB, free: 5.969 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.584/1.584, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.776/2.776, allocations: 472.6 MB / 0.7453 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.89 kB / 1.069 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217/1.219, allocations: 159.9 MB / 1.226 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002247/1.221, allocations: 0.6156 MB / 1.226 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001796/1.223, allocations: 1.12 MB / 1.227 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/1.223, allocations: 0 / 1.227 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.763e-05/1.223, allocations: 7.938 kB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.647e-05/1.223, allocations: 3.938 kB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006622/1.224, allocations: 119.3 kB / 1.227 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002338/1.224, allocations: 99.77 kB / 1.227 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/1.224, allocations: 11.98 kB / 1.227 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/1.224, allocations: 31.97 kB / 1.228 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/1.224, allocations: 31.89 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/1.224, allocations: 8 kB / 1.228 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.524e-05/1.225, allocations: 19.98 kB / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/1.225, allocations: 11.98 kB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.291e-05/1.225, allocations: 27.86 kB / 1.228 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001974/1.225, allocations: 83.78 kB / 1.228 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.225, allocations: 4 kB / 1.228 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.794e-06/1.225, allocations: 4 kB / 1.228 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.368e-05/1.225, allocations: 0 / 1.228 GB, free: 11.36 MB / 0.9512 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.000719/1.226, allocations: 385.5 kB / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/1.226, allocations: 12.03 kB / 1.228 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.947e-05/1.226, allocations: 8.922 kB / 1.228 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/1.226, allocations: 164.3 kB / 1.228 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.449e-05/1.226, allocations: 4.375 kB / 1.228 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/1.226, allocations: 4.375 kB / 1.228 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/1.226, allocations: 46.25 kB / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/1.226, allocations: 192 / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/1.226, allocations: 3.938 kB / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/1.226, allocations: 0 / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.625e-05/1.226, allocations: 11.98 kB / 1.228 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/1.227, allocations: 288.8 kB / 1.229 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.69e-05/1.227, allocations: 30.52 kB / 1.229 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/1.227, allocations: 16.91 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/1.227, allocations: 0 / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002142/1.227, allocations: 59.39 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.873e-06/1.227, allocations: 0 / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002557/1.227, allocations: 73.58 kB / 1.229 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/1.228, allocations: 59.34 kB / 1.229 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/1.228, allocations: 109.8 kB / 1.229 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/1.228, allocations: 33.7 kB / 1.229 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/1.228, allocations: 84.14 kB / 1.229 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/1.228, allocations: 7.938 kB / 1.229 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-05/1.228, allocations: 37.7 kB / 1.229 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.228, allocations: 310.8 kB / 1.229 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.532e-05/1.228, allocations: 31.98 kB / 1.229 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-05/1.228, allocations: 46.55 kB / 1.229 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/1.228, allocations: 88.22 kB / 1.23 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.228, allocations: 11.86 kB / 1.23 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002767/1.229, allocations: 151.2 kB / 1.23 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.175e-05/1.229, allocations: 33.7 kB / 1.23 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/1.229, allocations: 0 / 1.23 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/1.229, allocations: 4 kB / 1.23 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.683e-05/1.229, allocations: 0 / 1.23 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/1.229, allocations: 12 kB / 1.23 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/1.229, allocations: 31.89 kB / 1.23 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/1.229, allocations: 8 kB / 1.23 GB, free: 8.969 MB / 0.9512 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.0001114/1.229, allocations: 114.3 kB / 1.23 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/1.229, allocations: 4.234 kB / 1.23 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/1.229, allocations: 7.906 kB / 1.23 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.229, allocations: 4.047 kB / 1.23 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.229, allocations: 11.98 kB / 1.23 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.229, allocations: 0 / 1.23 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/1.229, allocations: 165.6 kB / 1.23 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.229, allocations: 0 / 1.23 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.369e-05/1.229, allocations: 7.984 kB / 1.23 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.229, allocations: 0 / 1.23 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/1.229, allocations: 0 / 1.23 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.229, allocations: 0 / 1.23 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.229, allocations: 0 / 1.23 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/1.23, allocations: 93 kB / 1.23 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/1.23, allocations: 85.06 kB / 1.23 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/1.23, allocations: 3.984 kB / 1.23 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.397e-05/1.23, allocations: 0 / 1.23 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/1.23, allocations: 4 kB / 1.23 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/1.23, allocations: 0 / 1.23 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.288e-05/1.23, allocations: 91.64 kB / 1.23 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/1.23, allocations: 4 kB / 1.23 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002644/1.23, allocations: 12 kB / 1.23 GB, free: 8.27 MB / 0.9512 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.0002518/1.23, allocations: 107.2 kB / 1.23 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002868/1.231, allocations: 127.2 kB / 1.231 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.231, allocations: 0 / 1.231 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.416e-05/1.231, allocations: 15.98 kB / 1.231 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/1.231, allocations: 15.88 kB / 1.231 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/1.231, allocations: 150.8 kB / 1.231 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/1.232, allocations: 0.6808 MB / 1.231 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.087e-05/1.232, allocations: 4 kB / 1.231 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/1.232, allocations: 11.44 kB / 1.231 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of SimCode: time 3.61e-07/1.232, allocations: 0 / 1.231 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of Templates: time 0.003922/1.236, allocations: 1.075 MB / 1.232 GB, free: 6.027 MB / 0.9512 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