Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.001523/0.001523, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001403/0.001403, allocations: 157.8 kB / 23.01 MB, free: 4.605 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.495/1.495, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.064/3.064, allocations: 394.2 MB / 0.6386 GB, free: 11.98 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [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.002651/0.002651, allocations: 67.89 kB / 1.009 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057/1.059, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002077/1.062, allocations: 0.6086 MB / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001433/1.063, allocations: 1.12 MB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/1.063, allocations: 0 / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.856e-05/1.063, allocations: 0.6094 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.479e-05/1.063, allocations: 10.11 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004855/1.064, allocations: 122.9 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001723/1.064, allocations: 98.7 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.1e-05/1.064, allocations: 8.438 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/1.064, allocations: 38.44 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/1.064, allocations: 31.28 kB / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/1.064, allocations: 7.531 kB / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.509e-05/1.064, allocations: 20.12 kB / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/1.064, allocations: 4 kB / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/1.064, allocations: 30 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/1.064, allocations: 85.92 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.064, allocations: 1.5 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.395e-06/1.064, allocations: 4.516 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.061e-06/1.064, allocations: 0 / 1.189 GB, free: 14.83 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.0004258/1.065, allocations: 304.5 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/1.065, allocations: 8.562 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/1.065, allocations: 10.08 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.069e-05/1.065, allocations: 110.4 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/1.065, allocations: 7.906 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/1.065, allocations: 9.172 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.001e-05/1.065, allocations: 39.25 kB / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/1.065, allocations: 1.656 kB / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/1.065, allocations: 4.5 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.065, allocations: 4 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/1.065, allocations: 10.39 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/1.066, allocations: 222 kB / 1.189 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.174e-05/1.066, allocations: 30.23 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/1.066, allocations: 13.25 kB / 1.189 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/1.066, allocations: 3.938 kB / 1.189 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/1.066, allocations: 59.61 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/1.066, allocations: 0 / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0001905/1.066, allocations: 74.31 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/1.066, allocations: 61.41 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.976e-05/1.066, allocations: 106.7 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/1.066, allocations: 29.14 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/1.066, allocations: 86.97 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.12e-05/1.066, allocations: 6.75 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.978e-05/1.066, allocations: 29.97 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.597e-05/1.066, allocations: 318.3 kB / 1.19 GB, free: 13.35 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.63e-05/1.066, allocations: 61.58 kB / 1.19 GB, free: 13.31 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.503e-05/1.066, allocations: 78.38 kB / 1.19 GB, free: 13.24 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/1.066, allocations: 90.27 kB / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.066, allocations: 0 / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002502/1.067, allocations: 190.8 kB / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/1.067, allocations: 43.33 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/1.067, allocations: 1.094 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/1.067, allocations: 1.859 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.034e-05/1.067, allocations: 2.484 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/1.067, allocations: 5.062 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/1.067, allocations: 33.06 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/1.067, allocations: 6.625 kB / 1.191 GB, free: 12.98 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: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.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.782e-05/1.067, allocations: 120 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/1.067, allocations: 6.656 kB / 1.191 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.301e-05/1.067, allocations: 5.969 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/1.067, allocations: 0 / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/1.067, allocations: 1.859 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/1.067, allocations: 3.938 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.369e-05/1.067, allocations: 108 kB / 1.191 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.067, allocations: 0 / 1.191 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/1.067, allocations: 10.91 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1.067, allocations: 0 / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/1.067, allocations: 5.562 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.067, allocations: 0.75 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.067, allocations: 1.234 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/1.067, allocations: 88.69 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.008e-05/1.067, allocations: 6.562 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/1.067, allocations: 1.516 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.517e-05/1.067, allocations: 1.531 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/1.067, allocations: 3.469 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/1.067, allocations: 5.922 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.894e-05/1.067, allocations: 90.84 kB / 1.191 GB, free: 12.53 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.067, allocations: 0 / 1.191 GB, free: 12.53 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002183/1.068, allocations: 24.11 kB / 1.191 GB, free: 12.52 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: 4 ($whenCondition1,$whenCondition2,booToInt.y,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.0001104/1.068, allocations: 100 kB / 1.191 GB, free: 12.44 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002068/1.068, allocations: 139.5 kB / 1.191 GB, free: 12.32 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.068, allocations: 1.125 kB / 1.191 GB, free: 12.32 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.27e-05/1.068, allocations: 14.05 kB / 1.191 GB, free: 12.32 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/1.068, allocations: 15.45 kB / 1.191 GB, free: 12.31 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002544/1.069, allocations: 132.8 kB / 1.192 GB, free: 12.19 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.025e-05/1.069, allocations: 64.56 kB / 1.192 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.93e-05/1.069, allocations: 2.859 kB / 1.192 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.632e-05/1.069, allocations: 9.969 kB / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of SimCode: time 3.5e-07/1.069, allocations: 1.562 kB / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of Templates: time 0.004191/1.073, allocations: 1.189 MB / 1.193 GB, free: 11.95 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.233733590925112]