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.001161/0.001161, allocations: 76.81 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001228/0.001228, allocations: 161 kB / 24.17 MB, free: 328 kB / 18.57 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.047/1.047, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.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 2.03/2.03, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.482e-06/1.482e-06, allocations: 0 / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.545e-05/1.693e-05, allocations: 4.016 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001275/0.001292, allocations: 0.6745 MB / 0.7607 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.002721, allocations: 1.165 MB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-05/0.002758, allocations: 0.6562 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.002783, allocations: 3.938 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.207e-05/0.002845, allocations: 3.266 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.003159, allocations: 121.3 kB / 0.762 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.003287, allocations: 96.03 kB / 0.762 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.596e-05/0.003353, allocations: 5.203 kB / 0.7621 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.089e-05/0.003434, allocations: 49.94 kB / 0.7621 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.908e-05/0.003513, allocations: 28.59 kB / 0.7621 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.003536, allocations: 8 kB / 0.7621 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.153e-05/0.003598, allocations: 17.38 kB / 0.7622 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.003616, allocations: 17.12 kB / 0.7622 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.003657, allocations: 21.3 kB / 0.7622 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.003773, allocations: 74.06 kB / 0.7623 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.003776, allocations: 4.641 kB / 0.7623 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003776, allocations: 0.6875 kB / 0.7623 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.755e-06/0.003779, allocations: 0 / 0.7623 GB, free: 4.387 MB / 0.7136 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.0002851/0.004064, allocations: 279.3 kB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.004096, allocations: 8.031 kB / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.004126, allocations: 6.453 kB / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.908e-05/0.004205, allocations: 109.8 kB / 0.7626 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.004219, allocations: 5.188 kB / 0.7627 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.00423, allocations: 4.375 kB / 0.7627 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.247e-05/0.004293, allocations: 52.27 kB / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.0043, allocations: 192 / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-06/0.004305, allocations: 384 / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.004311, allocations: 1.031 kB / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.559e-05/0.004326, allocations: 8.469 kB / 0.7627 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002368/0.004563, allocations: 169.4 kB / 0.7629 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.879e-05/0.004602, allocations: 26.52 kB / 0.7629 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.044e-05/0.004612, allocations: 6.016 kB / 0.7629 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-06/0.004618, allocations: 3.984 kB / 0.7629 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.391e-05/0.004692, allocations: 60.22 kB / 0.763 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.004693, allocations: 1.25 kB / 0.763 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001071/0.0048, allocations: 61.55 kB / 0.763 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.004827, allocations: 51.41 kB / 0.7631 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.164e-05/0.004889, allocations: 115.5 kB / 0.7632 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.004904, allocations: 25.7 kB / 0.7632 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.208e-05/0.004936, allocations: 91.44 kB / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.089e-05/0.004947, allocations: 11.94 kB / 0.7633 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.004991, allocations: 29.69 kB / 0.7633 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.842e-05/0.005069, allocations: 318.8 kB / 0.7636 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-05/0.005114, allocations: 45.69 kB / 0.7637 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.661e-05/0.00516, allocations: 76.2 kB / 0.7638 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.041e-05/0.005221, allocations: 79.09 kB / 0.7638 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005222, allocations: 0 / 0.7638 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001107/0.005333, allocations: 145 kB / 0.764 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.00536, allocations: 37.7 kB / 0.764 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.005365, allocations: 0 / 0.764 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.005379, allocations: 7.938 kB / 0.764 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.357e-05/0.005423, allocations: 0 / 0.764 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.005427, allocations: 9.391 kB / 0.764 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.005527, allocations: 19.94 kB / 0.764 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.005539, allocations: 4.656 kB / 0.7641 GB, free: 2.352 MB / 0.7136 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.564e-05/0.005594, allocations: 115.9 kB / 0.7642 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.005603, allocations: 11.92 kB / 0.7642 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.721e-05/0.00562, allocations: 4 kB / 0.7642 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.005623, allocations: 3.938 kB / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.005625, allocations: 0 / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.005627, allocations: 0 / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.5e-05/0.005682, allocations: 76.31 kB / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.005683, allocations: 0 / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.538e-06/0.005692, allocations: 8 kB / 0.7643 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.005693, allocations: 0 / 0.7643 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-06/0.005697, allocations: 0 / 0.7643 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.005697, allocations: 0 / 0.7643 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.005698, allocations: 0 / 0.7643 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.634e-05/0.005754, allocations: 75.2 kB / 0.7643 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-06/0.00576, allocations: 0 / 0.7643 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-06/0.005768, allocations: 4 kB / 0.7643 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-06/0.005776, allocations: 0 / 0.7643 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.005794, allocations: 7.922 kB / 0.7643 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.005798, allocations: 7.938 kB / 0.7644 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.282e-05/0.005811, allocations: 21.88 kB / 0.7644 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005811, allocations: 0 / 0.7644 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001084/0.005919, allocations: 16 kB / 0.7644 GB, free: 1.965 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 8.087e-05/0.006, allocations: 85.91 kB / 0.7645 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.006114, allocations: 132.3 kB / 0.7646 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.006118, allocations: 7.938 kB / 0.7646 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.82e-05/0.006136, allocations: 20.8 kB / 0.7646 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.073e-05/0.006227, allocations: 11.97 kB / 0.7646 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001899/0.006417, allocations: 131.4 kB / 0.7648 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.61e-05/0.006443, allocations: 59.28 kB / 0.7648 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.505e-05/0.006458, allocations: 4 kB / 0.7648 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.006521, allocations: 63.36 kB / 0.7649 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of SimCode: time 7.92e-07/0.006521, allocations: 0 / 0.7649 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of Templates: time 0.002621/0.009142, allocations: 1.285 MB / 0.7661 GB, free: 176 kB / 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 -s gbode -gbm=radauIIA3 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.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: 5.121351843699813]