Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.782/2.782, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 63.91 kB / 1.109 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.786/0.7881, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001949/0.7901, allocations: 0.6121 MB / 1.275 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.7916, allocations: 1.12 MB / 1.276 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.585e-05/0.7916, allocations: 0 / 1.276 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.7916, allocations: 3.938 kB / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.599e-05/0.7917, allocations: 15.92 kB / 1.276 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.7922, allocations: 123 kB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000167/0.7923, allocations: 83.88 kB / 1.276 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.527e-05/0.7924, allocations: 8 kB / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.26e-05/0.7925, allocations: 39.89 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.577e-05/0.7926, allocations: 27.91 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.7926, allocations: 8 kB / 1.276 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.049e-05/0.7927, allocations: 27.92 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.7927, allocations: 8 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.414e-05/0.7928, allocations: 35.89 kB / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.7929, allocations: 86.45 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7929, allocations: 0 / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7929, allocations: 0 / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.7929, allocations: 0 / 1.276 GB, free: 2.367 MB / 0.9669 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.0005411/0.7935, allocations: 385 kB / 1.277 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.7935, allocations: 8.031 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.7936, allocations: 4.938 kB / 1.277 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.7937, allocations: 168.3 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.7938, allocations: 12.36 kB / 1.277 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.7938, allocations: 4.375 kB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.7939, allocations: 42.19 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.7939, allocations: 4.125 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.7939, allocations: 3.938 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.7939, allocations: 0 / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.041e-05/0.794, allocations: 12 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.7944, allocations: 288.9 kB / 1.277 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.887e-05/0.7944, allocations: 30.52 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/0.7945, allocations: 8.922 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.7945, allocations: 3.938 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.7946, allocations: 64.88 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 4.459e-06/0.7946, allocations: 3.984 kB / 1.277 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002139/0.7948, allocations: 73.62 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.7949, allocations: 59.41 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.553e-05/0.795, allocations: 109.8 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.795, allocations: 33.7 kB / 1.277 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.7951, allocations: 80.14 kB / 1.278 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.7951, allocations: 11.94 kB / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.904e-05/0.7952, allocations: 33.7 kB / 1.278 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.7953, allocations: 314.8 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.47e-05/0.7954, allocations: 31.98 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.858e-05/0.7955, allocations: 50.56 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.7956, allocations: 84.2 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.7956, allocations: 3.938 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000276/0.7959, allocations: 159.3 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/0.7959, allocations: 37.69 kB / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.7959, allocations: 4.062 kB / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.796, allocations: 0 / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.236e-05/0.796, allocations: 4 kB / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.796, allocations: 0 / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.7962, allocations: 31.91 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.7963, allocations: 8 kB / 1.278 GB, free: 15.97 MB / 0.9825 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 0.0001023/0.7964, allocations: 117.8 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.7964, allocations: 4 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.7964, allocations: 11.91 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.7964, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.7964, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.7964, allocations: 3.938 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.7966, allocations: 165.6 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7966, allocations: 0 / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.552e-05/0.7966, allocations: 0 / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.7966, allocations: 3.938 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.7966, allocations: 8 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7966, allocations: 0 / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7966, allocations: 4 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.7967, allocations: 89 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.7968, allocations: 77.11 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.7968, allocations: 4 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.455e-05/0.7968, allocations: 3.938 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.7968, allocations: 3.984 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.7968, allocations: 4 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.285e-05/0.7969, allocations: 87.28 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7969, allocations: 0 / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002179/0.7971, allocations: 16 kB / 1.279 GB, free: 15.28 MB / 0.9825 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.0001769/0.7973, allocations: 107.8 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002353/0.7975, allocations: 111.3 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7975, allocations: 0 / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.554e-05/0.7975, allocations: 12 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.7978, allocations: 18.08 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.7981, allocations: 137.9 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.7984, allocations: 0.6807 MB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.394e-05/0.7984, allocations: 7.984 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.7984, allocations: 7.438 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.7984, allocations: 0 / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of Templates: time 0.003857/0.8023, allocations: 1.089 MB / 1.281 GB, free: 13.05 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.467926871962845]