Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.007441/0.007441, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001771/0.001771, allocations: 197.3 kB / 16.79 MB, free: 6.254 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.38/1.38, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.602/2.602, allocations: 390.2 MB / 0.6649 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 63.89 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6327/0.6344, allocations: 140.4 MB / 0.9496 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001752/0.6362, allocations: 0.6651 MB / 0.9502 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.6374, allocations: 1.121 MB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.09e-05/0.6374, allocations: 1.125 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.6375, allocations: 3.938 kB / 0.9513 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.6376, allocations: 5.547 kB / 0.9513 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.6379, allocations: 112 kB / 0.9515 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.675e-05/0.638, allocations: 80.2 kB / 0.9515 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.955e-05/0.6381, allocations: 4.125 kB / 0.9515 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.796e-05/0.6382, allocations: 35.03 kB / 0.9516 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/0.6383, allocations: 28.14 kB / 0.9516 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.6383, allocations: 4.125 kB / 0.9516 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.347e-05/0.6384, allocations: 22.98 kB / 0.9516 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.6384, allocations: 5.375 kB / 0.9516 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.6384, allocations: 33.47 kB / 0.9517 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.684e-05/0.6385, allocations: 59 kB / 0.9517 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6386, allocations: 0 / 0.9517 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.22e-07/0.6386, allocations: 0 / 0.9517 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.6386, allocations: 0 / 0.9517 GB, free: 7.617 MB / 0.7169 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.0004016/0.639, allocations: 375.7 kB / 0.9521 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.639, allocations: 9.625 kB / 0.9521 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.6391, allocations: 11.59 kB / 0.9521 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.623e-05/0.6391, allocations: 167.1 kB / 0.9523 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.6392, allocations: 7.125 kB / 0.9523 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.6392, allocations: 4.5 kB / 0.9523 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.012e-05/0.6393, allocations: 45.06 kB / 0.9523 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.6393, allocations: 192 / 0.9523 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.6393, allocations: 3.938 kB / 0.9523 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.6393, allocations: 1.375 kB / 0.9523 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.361e-05/0.6393, allocations: 4.125 kB / 0.9523 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.6397, allocations: 292.1 kB / 0.9526 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.252e-05/0.6397, allocations: 33.39 kB / 0.9526 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.6397, allocations: 8.984 kB / 0.9526 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.6398, allocations: 3.938 kB / 0.9526 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.6399, allocations: 63.67 kB / 0.9527 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.6399, allocations: 0 / 0.9527 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001785/0.6401, allocations: 71.8 kB / 0.9528 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.6401, allocations: 56.22 kB / 0.9528 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.955e-05/0.6402, allocations: 111.2 kB / 0.9529 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.6402, allocations: 31.08 kB / 0.953 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.6402, allocations: 91.69 kB / 0.953 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.6403, allocations: 8.781 kB / 0.9531 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.6403, allocations: 29.58 kB / 0.9531 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.371e-05/0.6404, allocations: 324.5 kB / 0.9534 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.369e-05/0.6404, allocations: 32.86 kB / 0.9534 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.306e-05/0.6405, allocations: 48.03 kB / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.141e-05/0.6406, allocations: 90.67 kB / 0.9536 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6406, allocations: 3.938 kB / 0.9536 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002393/0.6409, allocations: 145 kB / 0.9537 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.6409, allocations: 44.81 kB / 0.9537 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.6409, allocations: 1.359 kB / 0.9537 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.6409, allocations: 5.047 kB / 0.9537 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.855e-05/0.641, allocations: 2.656 kB / 0.9537 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.641, allocations: 1.438 kB / 0.9538 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.6412, allocations: 27.28 kB / 0.9538 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.6412, allocations: 9.578 kB / 0.9538 GB, free: 5.52 MB / 0.7169 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 5.922e-05/0.6413, allocations: 118.9 kB / 0.9539 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.6413, allocations: 10.81 kB / 0.9539 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.229e-05/0.6413, allocations: 7.906 kB / 0.9539 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.6413, allocations: 0 / 0.9539 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6414, allocations: 1.594 kB / 0.9539 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.6414, allocations: 0 / 0.9539 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.113e-05/0.6414, allocations: 164.2 kB / 0.9541 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6414, allocations: 0 / 0.9541 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.521e-05/0.6415, allocations: 7.219 kB / 0.9541 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.6415, allocations: 0 / 0.9541 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.6415, allocations: 5.109 kB / 0.9541 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6415, allocations: 4 kB / 0.9541 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6415, allocations: 0 / 0.9541 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.053e-05/0.6416, allocations: 86.62 kB / 0.9542 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.6416, allocations: 82.67 kB / 0.9543 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.6416, allocations: 0 / 0.9543 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.471e-05/0.6416, allocations: 5.359 kB / 0.9543 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.6417, allocations: 1.688 kB / 0.9543 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.6417, allocations: 5.688 kB / 0.9543 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.441e-05/0.6417, allocations: 89.12 kB / 0.9543 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6417, allocations: 0 / 0.9543 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002081/0.6419, allocations: 22.45 kB / 0.9544 GB, free: 4.883 MB / 0.7169 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.0001069/0.642, allocations: 102.8 kB / 0.9545 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001869/0.6422, allocations: 130.1 kB / 0.9546 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6423, allocations: 0 / 0.9546 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.566e-05/0.6423, allocations: 18.14 kB / 0.9546 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.6425, allocations: 15.94 kB / 0.9546 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/0.6427, allocations: 160.1 kB / 0.9548 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.882e-05/0.6428, allocations: 0.6795 MB / 0.9554 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/0.6429, allocations: 10.12 kB / 0.9555 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.6429, allocations: 0 / 0.9555 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of Templates: time 0.002219/0.6451, allocations: 0.9239 MB / 0.9564 GB, free: 3.332 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches