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.009246/0.009246, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001576/0.001576, allocations: 188.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.569/1.569, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.068/3.068, allocations: 461.9 MB / 0.7347 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 71.88 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4228, allocations: 157.4 MB / 1.208 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002622/0.4254, allocations: 0.606 MB / 1.208 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002317/0.4278, allocations: 1.12 MB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.268e-05/0.4279, allocations: 0 / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.732e-05/0.428, allocations: 3.938 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.938e-05/0.4281, allocations: 3.938 kB / 1.209 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000724/0.4288, allocations: 118.2 kB / 1.21 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.4291, allocations: 107.8 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.4292, allocations: 4 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.477e-05/0.4293, allocations: 27.98 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.4295, allocations: 39.88 kB / 1.21 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.4295, allocations: 8 kB / 1.21 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.33e-05/0.4296, allocations: 19.98 kB / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.4296, allocations: 4 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.093e-05/0.4297, allocations: 35.84 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.43, allocations: 95.72 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.43, allocations: 0 / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.355e-06/0.43, allocations: 0 / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.43, allocations: 0 / 1.21 GB, free: 7.5 MB / 0.9669 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.000713/0.4307, allocations: 381 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.734e-05/0.4308, allocations: 8.031 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.905e-05/0.4309, allocations: 4.938 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.4311, allocations: 172.3 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.4311, allocations: 384 / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.4312, allocations: 8.375 kB / 1.21 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.4313, allocations: 42.25 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4313, allocations: 192 / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.4314, allocations: 7.922 kB / 1.21 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.4314, allocations: 0 / 1.21 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.031e-05/0.4315, allocations: 11.98 kB / 1.21 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006068/0.4321, allocations: 296.8 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.049e-05/0.4322, allocations: 34.52 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/0.4322, allocations: 12.92 kB / 1.211 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.4323, allocations: 0 / 1.211 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.4324, allocations: 59.39 kB / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.4324, allocations: 0 / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002753/0.4327, allocations: 69.53 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.4328, allocations: 59.39 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.4329, allocations: 113.8 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.433, allocations: 29.7 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.877e-05/0.4331, allocations: 80.14 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.4331, allocations: 11.91 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-05/0.4332, allocations: 29.7 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002539/0.4335, allocations: 314.8 kB / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.4336, allocations: 31.98 kB / 1.212 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.4337, allocations: 54.56 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.434, allocations: 84.2 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.434, allocations: 3.938 kB / 1.212 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003618/0.4344, allocations: 159.2 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/0.4344, allocations: 33.69 kB / 1.212 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.4344, allocations: 4 kB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.4345, allocations: 4.062 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.318e-05/0.4345, allocations: 4 kB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.4346, allocations: 0 / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.4348, allocations: 31.91 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.4349, allocations: 4 kB / 1.212 GB, free: 5.113 MB / 0.9669 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.0001321/0.435, allocations: 121.8 kB / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.435, allocations: 7.938 kB / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.4351, allocations: 7.906 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.4351, allocations: 0 / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4351, allocations: 0 / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.4351, allocations: 4 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.4354, allocations: 169.5 kB / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4354, allocations: 0 / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.219e-05/0.4354, allocations: 8 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4355, allocations: 0 / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.4355, allocations: 0 / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4355, allocations: 400 / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4355, allocations: 0 / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.4357, allocations: 97.48 kB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/0.4357, allocations: 77.11 kB / 1.212 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.4358, allocations: 0 / 1.212 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.881e-05/0.4358, allocations: 0 / 1.212 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.4358, allocations: 4 kB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.4359, allocations: 4 kB / 1.212 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001885/0.4361, allocations: 91.25 kB / 1.212 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.11e-07/0.4361, allocations: 0 / 1.212 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003303/0.4364, allocations: 20 kB / 1.212 GB, free: 4.41 MB / 0.9669 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.0002568/0.4367, allocations: 103.2 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003701/0.4371, allocations: 127.6 kB / 1.213 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.4371, allocations: 0 / 1.213 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.911e-05/0.4371, allocations: 12.09 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.4375, allocations: 11.92 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005396/0.438, allocations: 146 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.4385, allocations: 0.6807 MB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.115e-05/0.4385, allocations: 4 kB / 1.214 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.4386, allocations: 7.438 kB / 1.214 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.4386, allocations: 0 / 1.214 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of Templates: time 0.004792/0.4434, allocations: 1.108 MB / 1.215 GB, free: 2.16 MB / 0.9669 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