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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001307/0.001307, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001834/0.001835, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.479/2.479, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 71.88 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7797/0.7809, allocations: 140.4 MB / 0.9489 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0019/0.7828, allocations: 0.6662 MB / 0.9496 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.7842, allocations: 1.124 MB / 0.9507 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.013e-05/0.7842, allocations: 1.375 kB / 0.9507 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/0.7843, allocations: 0 / 0.9507 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.033e-05/0.7843, allocations: 5.312 kB / 0.9507 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.7847, allocations: 102.7 kB / 0.9508 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.354e-05/0.7848, allocations: 84.56 kB / 0.9509 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.7849, allocations: 6.594 kB / 0.9509 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.442e-05/0.785, allocations: 32 kB / 0.9509 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.227e-05/0.7851, allocations: 28.28 kB / 0.9509 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.7851, allocations: 3.656 kB / 0.9509 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.54e-05/0.7852, allocations: 22.98 kB / 0.951 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.7852, allocations: 6.484 kB / 0.951 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.7853, allocations: 29.03 kB / 0.951 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.7854, allocations: 75.42 kB / 0.9511 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7854, allocations: 1.125 kB / 0.9511 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7854, allocations: 3.984 kB / 0.9511 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.7854, allocations: 0 / 0.9511 GB, free: 7.773 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.0003681/0.7858, allocations: 383.7 kB / 0.9514 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.7858, allocations: 13.19 kB / 0.9514 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.7859, allocations: 8.844 kB / 0.9515 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.44e-05/0.786, allocations: 165.9 kB / 0.9516 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.786, allocations: 3.062 kB / 0.9516 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.786, allocations: 4.625 kB / 0.9516 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.018e-05/0.7861, allocations: 40.28 kB / 0.9517 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.7861, allocations: 192 / 0.9517 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.7861, allocations: 4.812 kB / 0.9517 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.7862, allocations: 1.375 kB / 0.9517 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.003e-05/0.7862, allocations: 16.83 kB / 0.9517 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.7865, allocations: 284.4 kB / 0.9519 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.562e-05/0.7866, allocations: 37 kB / 0.952 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.7866, allocations: 12.39 kB / 0.952 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-06/0.7866, allocations: 7.984 kB / 0.952 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.7868, allocations: 67.83 kB / 0.9521 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.7868, allocations: 0 / 0.9521 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001974/0.787, allocations: 67.22 kB / 0.9521 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.787, allocations: 52.75 kB / 0.9522 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.818e-05/0.7871, allocations: 110.6 kB / 0.9523 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.7871, allocations: 31.95 kB / 0.9523 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.7872, allocations: 91.23 kB / 0.9524 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.7872, allocations: 13.16 kB / 0.9524 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.7872, allocations: 34.45 kB / 0.9525 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.836e-05/0.7873, allocations: 316.1 kB / 0.9528 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.988e-05/0.7874, allocations: 35.19 kB / 0.9528 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-05/0.7875, allocations: 48.88 kB / 0.9528 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.751e-05/0.7876, allocations: 81.83 kB / 0.9529 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.7876, allocations: 9.125 kB / 0.9529 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000236/0.7878, allocations: 149.2 kB / 0.9531 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.7879, allocations: 32.08 kB / 0.9531 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.7879, allocations: 1.188 kB / 0.9531 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.7879, allocations: 5.266 kB / 0.9531 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.212e-05/0.788, allocations: 2.219 kB / 0.9531 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.788, allocations: 1.531 kB / 0.9531 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.7882, allocations: 36.41 kB / 0.9531 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.7882, allocations: 8.438 kB / 0.9531 GB, free: 5.664 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 6.426e-05/0.7883, allocations: 122.1 kB / 0.9533 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.7883, allocations: 6.594 kB / 0.9533 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.7884, allocations: 9.938 kB / 0.9533 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-06/0.7884, allocations: 0 / 0.9533 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.7884, allocations: 0 / 0.9533 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.7884, allocations: 0 / 0.9533 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.092e-05/0.7885, allocations: 165.2 kB / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7885, allocations: 4 kB / 0.9534 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.632e-05/0.7885, allocations: 2.656 kB / 0.9534 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.7885, allocations: 0 / 0.9534 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.7885, allocations: 5.375 kB / 0.9534 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.7885, allocations: 4 kB / 0.9534 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7885, allocations: 1.344 kB / 0.9535 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.878e-05/0.7886, allocations: 85.27 kB / 0.9535 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.7887, allocations: 82.14 kB / 0.9536 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.7887, allocations: 1.156 kB / 0.9536 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.461e-05/0.7887, allocations: 4 kB / 0.9536 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.7887, allocations: 6.531 kB / 0.9536 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.7887, allocations: 5.141 kB / 0.9536 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.945e-05/0.7888, allocations: 85.5 kB / 0.9537 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7888, allocations: 0 / 0.9537 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00021/0.789, allocations: 18.59 kB / 0.9537 GB, free: 5.031 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.0001225/0.7891, allocations: 109 kB / 0.9538 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.7893, allocations: 125.5 kB / 0.9539 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7893, allocations: 0 / 0.9539 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.443e-05/0.7894, allocations: 13.5 kB / 0.954 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.7896, allocations: 20.92 kB / 0.954 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.7899, allocations: 133.3 kB / 0.9541 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.79, allocations: 0.6847 MB / 0.9548 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.338e-05/0.79, allocations: 1.562 kB / 0.9548 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.678e-05/0.7901, allocations: 10.25 kB / 0.9548 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.7901, allocations: 0 / 0.9548 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of Templates: time 0.00353/0.7936, allocations: 1.032 MB / 0.9558 GB, free: 3.445 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/jenkins/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