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.001815/0.001815, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002264/0.002264, allocations: 217.3 kB / 23.01 MB, free: 4.969 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.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 3.419/3.419, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 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.0021/0.0021, allocations: 67.06 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3986, allocations: 176.1 MB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.00181/0.4004, allocations: 0.5936 MB / 1.328 GB, free: 464 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.4019, allocations: 1.14 MB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.443e-05/0.402, allocations: 4 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.499e-05/0.402, allocations: 3.938 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.773e-05/0.4021, allocations: 7.922 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.4025, allocations: 114.9 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.4027, allocations: 91.83 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.799e-05/0.4028, allocations: 7.984 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.741e-05/0.4028, allocations: 35.92 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.131e-05/0.4029, allocations: 39.89 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.403, allocations: 8 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.155e-05/0.403, allocations: 19.98 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.403, allocations: 11.98 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.272e-05/0.4031, allocations: 23.92 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.4033, allocations: 87.72 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.4033, allocations: 0 / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4033, allocations: 4 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.4033, allocations: 0 / 1.329 GB, free: 14.85 MB / 1.029 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.0004539/0.4037, allocations: 300 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.4038, allocations: 15.97 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.4038, allocations: 8.891 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.857e-05/0.4039, allocations: 110.5 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.4039, allocations: 4.359 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.404, allocations: 4.375 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.4041, allocations: 42.25 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.4041, allocations: 192 / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.4041, allocations: 3.938 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.4041, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.486e-05/0.4041, allocations: 8 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.4045, allocations: 224.5 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.474e-05/0.4046, allocations: 34.56 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/0.4046, allocations: 16.86 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.4046, allocations: 3.938 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.4048, allocations: 71.27 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.4048, allocations: 0 / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002116/0.405, allocations: 69.62 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.405, allocations: 55.39 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.558e-05/0.4051, allocations: 113.8 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.4052, allocations: 33.69 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.4052, allocations: 88.14 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.4053, allocations: 11.91 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/0.4053, allocations: 29.7 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4054, allocations: 310.8 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.974e-05/0.4055, allocations: 65.67 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.4057, allocations: 84.25 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.4058, allocations: 88.28 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.4058, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002867/0.4061, allocations: 185 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/0.4061, allocations: 35.58 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4061, allocations: 4 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.4061, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.915e-05/0.4062, allocations: 7.984 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4062, allocations: 0 / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.4064, allocations: 31.92 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.4065, allocations: 4 kB / 1.331 GB, free: 12.59 MB / 1.029 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.0001166/0.4066, allocations: 114.3 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.4066, allocations: 15.94 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.4066, allocations: 7.984 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4066, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4066, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.4066, allocations: 7.938 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.4066, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.42e-05/0.4067, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.4067, allocations: 7.984 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001505/0.4068, allocations: 132.9 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002257/0.4071, allocations: 238.7 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.359e-05/0.4071, allocations: 15.94 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.952e-05/0.4072, allocations: 87.27 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of Backend: time 3.21e-07/0.4072, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005405/0.4077, allocations: 211.4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of SimCode: time 0.0005929/0.4083, allocations: 0.5772 MB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of Templates: time 0.004712/0.413, allocations: 1.275 MB / 1.334 GB, free: 9.828 MB / 1.029 GB " [Timeout remaining time 300] 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 -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.440751211994211]