Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001115/0.001115, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009603/0.002075, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006806/0.0006806, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00086/0.001541, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9983/0.9983, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1043/1.103, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.827/1.827, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5496/2.377, allocations: 123.3 MB / 0.728 GB, free: 5.824 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.155e-06/2.155e-06, allocations: 0 / 0.7293 GB, free: 4.566 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.599e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.562 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001564/0.00159, allocations: 0.6605 MB / 0.7299 GB, free: 3.926 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.002609, allocations: 1.162 MB / 0.7311 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.00264, allocations: 0 / 0.7311 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.299e-05/0.002663, allocations: 3.938 kB / 0.7311 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.999e-05/0.002703, allocations: 11.3 kB / 0.7311 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.002971, allocations: 116.3 kB / 0.7312 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.003115, allocations: 88.41 kB / 0.7313 GB, free: 2.555 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.546e-05/0.003191, allocations: 17.08 kB / 0.7313 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.672e-05/0.003278, allocations: 45.89 kB / 0.7314 GB, free: 2.496 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.473e-05/0.003362, allocations: 34.23 kB / 0.7314 GB, free: 2.465 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.003383, allocations: 8 kB / 0.7314 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.905e-05/0.003452, allocations: 25.36 kB / 0.7314 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.003471, allocations: 6.188 kB / 0.7314 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.003504, allocations: 16.77 kB / 0.7314 GB, free: 2.414 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.003624, allocations: 55.02 kB / 0.7315 GB, free: 2.363 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.724e-05/0.003642, allocations: 0.6562 kB / 0.7315 GB, free: 2.363 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.21e-07/0.003642, allocations: 0 / 0.7315 GB, free: 2.363 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.813e-05/0.003661, allocations: 0.6875 kB / 0.7315 GB, free: 2.363 MB / 0.698 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.0003881/0.004049, allocations: 294.2 kB / 0.7318 GB, free: 2.043 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.004088, allocations: 9.75 kB / 0.7318 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.004121, allocations: 4.938 kB / 0.7318 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.503e-05/0.004206, allocations: 109.8 kB / 0.7319 GB, free: 1.898 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.004224, allocations: 4.375 kB / 0.7319 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.004237, allocations: 10 kB / 0.7319 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.766e-05/0.004315, allocations: 46.95 kB / 0.7319 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.004323, allocations: 192 / 0.7319 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.461e-06/0.004328, allocations: 1.25 kB / 0.732 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.004333, allocations: 384 / 0.732 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.96e-05/0.004353, allocations: 7.938 kB / 0.732 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.004573, allocations: 169 kB / 0.7321 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.823e-05/0.004621, allocations: 27.39 kB / 0.7321 GB, free: 1.609 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.276e-05/0.004634, allocations: 4.859 kB / 0.7322 GB, free: 1.602 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.004641, allocations: 0.7969 kB / 0.7322 GB, free: 1.602 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.662e-05/0.004737, allocations: 63.44 kB / 0.7322 GB, free: 1.527 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.004738, allocations: 0.5938 kB / 0.7322 GB, free: 1.527 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001207/0.004859, allocations: 59.44 kB / 0.7323 GB, free: 1.465 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.004891, allocations: 51.41 kB / 0.7323 GB, free: 1.402 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.724e-05/0.004948, allocations: 114.7 kB / 0.7324 GB, free: 1.277 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.004964, allocations: 29.7 kB / 0.7325 GB, free: 1.242 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.004998, allocations: 92.11 kB / 0.7325 GB, free: 1.148 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.005012, allocations: 12.58 kB / 0.7326 GB, free: 1.137 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.005054, allocations: 29.69 kB / 0.7326 GB, free: 1.102 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.873e-05/0.005132, allocations: 315.6 kB / 0.7329 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.005194, allocations: 45.69 kB / 0.7329 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-05/0.005259, allocations: 81.33 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.969e-05/0.005338, allocations: 72.19 kB / 0.7331 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.005341, allocations: 0.7188 kB / 0.7331 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001271/0.005468, allocations: 145.5 kB / 0.7332 GB, free: 404 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/0.005509, allocations: 42.62 kB / 0.7333 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.005514, allocations: 0 / 0.7333 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.005525, allocations: 9.156 kB / 0.7333 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.514e-05/0.00557, allocations: 64 / 0.7333 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.005576, allocations: 8 kB / 0.7333 GB, free: 340 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.005683, allocations: 18 kB / 0.7333 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.005695, allocations: 7.984 kB / 0.7333 GB, free: 316 kB / 0.698 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 6.137e-05/0.005756, allocations: 121.7 kB / 0.7334 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.005763, allocations: 4.75 kB / 0.7334 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.005785, allocations: 7.984 kB / 0.7334 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.005788, allocations: 5.344 kB / 0.7334 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.00579, allocations: 0 / 0.7334 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.005793, allocations: 0 / 0.7334 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.008e-05/0.005853, allocations: 77.83 kB / 0.7335 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.005855, allocations: 0.7812 kB / 0.7335 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.263e-05/0.005867, allocations: 8 kB / 0.7335 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-06/0.005872, allocations: 4.875 kB / 0.7335 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.005873, allocations: 0 / 0.7335 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.005879, allocations: 3.984 kB / 0.7335 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.005881, allocations: 4.781 kB / 0.7335 GB, free: 48 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.005883, allocations: 3.938 kB / 0.7335 GB, free: 44 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.988e-05/0.005963, allocations: 61.78 kB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-06/0.005971, allocations: 4 kB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.094e-05/0.005982, allocations: 0.5938 kB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.006002, allocations: 9.078 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.006006, allocations: 3.938 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.527e-05/0.006021, allocations: 16.86 kB / 0.7336 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006021, allocations: 1.031 kB / 0.7336 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001098/0.006131, allocations: 15.98 kB / 0.7336 GB, free: 15.91 MB / 0.7136 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.0001046/0.006236, allocations: 86.19 kB / 0.7337 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.006438, allocations: 129.9 kB / 0.7338 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.006441, allocations: 0 / 0.7338 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.669e-05/0.006458, allocations: 24.78 kB / 0.7339 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000114/0.006572, allocations: 12.62 kB / 0.7339 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.006961, allocations: 132.5 kB / 0.734 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.264e-05/0.006994, allocations: 58.11 kB / 0.7341 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.958e-05/0.007013, allocations: 3.984 kB / 0.7341 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.007077, allocations: 67.34 kB / 0.7341 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of SimCode: time 7.62e-07/0.007078, allocations: 0 / 0.7341 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of Templates: time 0.003184/0.01026, allocations: 1.342 MB / 0.7354 GB, free: 14.07 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.960714613087475]