Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 162.4 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.45/1.45, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.817/2.817, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 63.91 kB / 0.9819 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9642/0.9666, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002082/0.9687, allocations: 0.6033 MB / 1.154 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.9699, allocations: 1.13 MB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.97, allocations: 0 / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.97, allocations: 3.125 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.852e-05/0.9701, allocations: 7.938 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.9705, allocations: 127.9 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.9707, allocations: 84.56 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.009e-05/0.9708, allocations: 9.656 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.137e-05/0.9709, allocations: 36.56 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.423e-05/0.9709, allocations: 33.19 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.971, allocations: 9.125 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.262e-05/0.971, allocations: 13.69 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.9711, allocations: 14.16 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.335e-05/0.9711, allocations: 27.25 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.9713, allocations: 90.05 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.9713, allocations: 0 / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9713, allocations: 0 / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.9713, allocations: 0 / 1.156 GB, free: 31.94 MB / 1.076 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.0004023/0.9717, allocations: 306.5 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.9717, allocations: 8.688 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.9718, allocations: 7.891 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.112e-05/0.9718, allocations: 105.4 kB / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.9718, allocations: 7.125 kB / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.9719, allocations: 10.28 kB / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.922e-05/0.972, allocations: 43.19 kB / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.972, allocations: 192 / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.972, allocations: 7.359 kB / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.972, allocations: 0 / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.201e-05/0.972, allocations: 9.906 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.9723, allocations: 222.1 kB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.703e-05/0.9724, allocations: 31.45 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.904e-05/0.9724, allocations: 7.703 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.9724, allocations: 3.938 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/0.9725, allocations: 76.58 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.9726, allocations: 0 / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0001863/0.9727, allocations: 70.34 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.9728, allocations: 51.41 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.604e-05/0.9728, allocations: 105.9 kB / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.9728, allocations: 32.7 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.9729, allocations: 90.3 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.9729, allocations: 19.05 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.9729, allocations: 28.19 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.029e-05/0.973, allocations: 316.6 kB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.971e-05/0.9731, allocations: 62.84 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.688e-05/0.9732, allocations: 81.83 kB / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.084e-05/0.9732, allocations: 89.67 kB / 1.158 GB, free: 30.26 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9732, allocations: 0 / 1.158 GB, free: 30.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00022/0.9735, allocations: 184.5 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.9735, allocations: 34.98 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.9735, allocations: 0 / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.9735, allocations: 2.938 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.041e-05/0.9736, allocations: 7.062 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.9736, allocations: 0 / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.9738, allocations: 32.94 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.9738, allocations: 9.531 kB / 1.158 GB, free: 30.08 MB / 1.076 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.71e-05/0.9739, allocations: 118.9 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.9739, allocations: 6.531 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.9739, allocations: 8 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.9739, allocations: 2.562 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.9739, allocations: 0 / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.9739, allocations: 4 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.031e-05/0.974, allocations: 108.5 kB / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.974, allocations: 0 / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.974, allocations: 7.125 kB / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.974, allocations: 2.688 kB / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.974, allocations: 0 / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.974, allocations: 64 / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.974, allocations: 4 kB / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.575e-05/0.9741, allocations: 90.8 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-06/0.9741, allocations: 6.812 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.9741, allocations: 4.047 kB / 1.158 GB, free: 29.72 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.421e-05/0.9741, allocations: 3.984 kB / 1.158 GB, free: 29.72 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.9742, allocations: 10.2 kB / 1.158 GB, free: 29.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.9742, allocations: 0 / 1.158 GB, free: 29.71 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.82e-05/0.9742, allocations: 85 kB / 1.158 GB, free: 29.64 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9742, allocations: 6.812 kB / 1.158 GB, free: 29.63 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002033/0.9744, allocations: 14.22 kB / 1.158 GB, free: 29.63 MB / 1.076 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.0001136/0.9745, allocations: 100.4 kB / 1.159 GB, free: 29.55 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.9747, allocations: 144.9 kB / 1.159 GB, free: 29.43 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9747, allocations: 4.125 kB / 1.159 GB, free: 29.43 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.177e-05/0.9747, allocations: 19.62 kB / 1.159 GB, free: 29.42 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.9749, allocations: 2.875 kB / 1.159 GB, free: 29.42 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.9752, allocations: 134.4 kB / 1.159 GB, free: 29.3 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.021e-05/0.9752, allocations: 67.05 kB / 1.159 GB, free: 29.22 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.074e-05/0.9753, allocations: 2.719 kB / 1.159 GB, free: 29.22 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.944e-05/0.9753, allocations: 11.78 kB / 1.159 GB, free: 29.21 MB / 1.076 GB Notification: Performance of SimCode: time 3.91e-07/0.9753, allocations: 0 / 1.159 GB, free: 29.21 MB / 1.076 GB Notification: Performance of Templates: time 0.003691/0.979, allocations: 1.174 MB / 1.16 GB, free: 29.06 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.087904134998098]