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.0009242/0.0009242, allocations: 80.92 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.0009488/0.0009488, allocations: 165 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.015/1.015, allocations: 177.1 MB / 204.6 MB, free: 5.477 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 1.918/1.918, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 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 1.583e-06/1.583e-06, allocations: 0 / 0.76 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.818e-05, allocations: 9.828 kB / 0.76 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001209/0.001227, allocations: 0.6225 MB / 0.7606 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.002384, allocations: 1.166 MB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.002429, allocations: 1.75 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.049e-05/0.002459, allocations: 3.938 kB / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.409e-05/0.002533, allocations: 6.516 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.002941, allocations: 120.2 kB / 0.7619 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.003073, allocations: 96.86 kB / 0.762 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.841e-05/0.003141, allocations: 3.984 kB / 0.762 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.835e-05/0.003239, allocations: 53.27 kB / 0.762 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.203e-05/0.003331, allocations: 22.14 kB / 0.762 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.00335, allocations: 9.125 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.508e-05/0.003405, allocations: 19.98 kB / 0.7621 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.003425, allocations: 5.203 kB / 0.7621 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.003461, allocations: 34.2 kB / 0.7621 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.003582, allocations: 77.53 kB / 0.7622 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.003584, allocations: 1.156 kB / 0.7622 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003584, allocations: 0 / 0.7622 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.715e-06/0.003587, allocations: 0 / 0.7622 GB, free: 4.48 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.000315/0.003902, allocations: 276.5 kB / 0.7624 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.003934, allocations: 12.03 kB / 0.7624 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.003968, allocations: 4.938 kB / 0.7624 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.698e-05/0.004045, allocations: 110.3 kB / 0.7626 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.004062, allocations: 2.156 kB / 0.7626 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.004082, allocations: 12.36 kB / 0.7626 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.138e-05/0.004163, allocations: 46.95 kB / 0.7626 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.00417, allocations: 192 / 0.7626 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.004177, allocations: 1.031 kB / 0.7626 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.004183, allocations: 1.594 kB / 0.7626 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.816e-05/0.004201, allocations: 11.88 kB / 0.7626 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.004417, allocations: 164.2 kB / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.891e-05/0.004456, allocations: 20.36 kB / 0.7628 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.163e-05/0.004467, allocations: 8.922 kB / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-06/0.004472, allocations: 1.094 kB / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.056e-05/0.004543, allocations: 67.31 kB / 0.7629 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.004544, allocations: 0.75 kB / 0.7629 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001064/0.00465, allocations: 53.61 kB / 0.7629 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.004685, allocations: 56.16 kB / 0.763 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.625e-05/0.004751, allocations: 110.7 kB / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.004768, allocations: 26.95 kB / 0.7631 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.004806, allocations: 88.14 kB / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.906e-06/0.004815, allocations: 7.938 kB / 0.7632 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.004854, allocations: 34.58 kB / 0.7632 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.00495, allocations: 318.8 kB / 0.7635 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.065e-05/0.005001, allocations: 53.62 kB / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.77e-05/0.005049, allocations: 73.05 kB / 0.7637 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.881e-05/0.005117, allocations: 73.17 kB / 0.7637 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.005119, allocations: 0 / 0.7637 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001121/0.005231, allocations: 142.2 kB / 0.7639 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.005261, allocations: 41.69 kB / 0.7639 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.005267, allocations: 9.031 kB / 0.7639 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.005282, allocations: 3.938 kB / 0.7639 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.215e-05/0.005324, allocations: 4.234 kB / 0.7639 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.005327, allocations: 0.9375 kB / 0.7639 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.005433, allocations: 29.17 kB / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.005444, allocations: 4 kB / 0.764 GB, free: 2.445 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 6.621e-05/0.00551, allocations: 116.6 kB / 0.7641 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.005517, allocations: 3.984 kB / 0.7641 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.00554, allocations: 11.98 kB / 0.7641 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.005543, allocations: 3.938 kB / 0.7641 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.005546, allocations: 0 / 0.7641 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.005549, allocations: 0 / 0.7641 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.78e-05/0.005617, allocations: 69.89 kB / 0.7642 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.005619, allocations: 3.984 kB / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.264e-06/0.005627, allocations: 2.406 kB / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.005628, allocations: 0 / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.005635, allocations: 8 kB / 0.7642 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.005636, allocations: 0 / 0.7642 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.005636, allocations: 3.938 kB / 0.7642 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.645e-05/0.005703, allocations: 69.06 kB / 0.7642 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.00571, allocations: 4.672 kB / 0.7642 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.005719, allocations: 0 / 0.7642 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-06/0.005726, allocations: 0.9688 kB / 0.7642 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.005745, allocations: 4 kB / 0.7642 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.005749, allocations: 3.938 kB / 0.7642 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.645e-05/0.005765, allocations: 17.34 kB / 0.7643 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005765, allocations: 2.531 kB / 0.7643 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001196/0.005885, allocations: 16 kB / 0.7643 GB, free: 2.066 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.0001043/0.005989, allocations: 88.3 kB / 0.7644 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.006113, allocations: 138.5 kB / 0.7645 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.006116, allocations: 8 kB / 0.7645 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.544e-05/0.006132, allocations: 11.3 kB / 0.7645 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.911e-05/0.006221, allocations: 15.98 kB / 0.7645 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001934/0.006414, allocations: 124.5 kB / 0.7647 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.038e-05/0.006445, allocations: 59.3 kB / 0.7647 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.612e-05/0.006461, allocations: 9.703 kB / 0.7647 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.023e-05/0.006521, allocations: 59.36 kB / 0.7648 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/0.006522, allocations: 0 / 0.7648 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of Templates: time 0.002945/0.009467, allocations: 1.302 MB / 0.766 GB, free: 268 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 -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.0814723572693765]