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.001462/0.001462, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001505/0.001505, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 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.009/1.009, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 2.377/2.377, allocations: 438.8 MB / 0.6826 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.821e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00252/0.002549, allocations: 0.6141 MB / 0.8392 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002023/0.004571, allocations: 1.166 MB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.871e-05/0.00464, allocations: 0 / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.061e-05/0.00468, allocations: 3.938 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.004781, allocations: 7.922 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006686/0.005449, allocations: 123.6 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.005664, allocations: 95.81 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.005772, allocations: 4 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.005915, allocations: 47.97 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.006045, allocations: 27.94 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.006074, allocations: 8 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.575e-05/0.00615, allocations: 16 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.859e-05/0.006179, allocations: 11.92 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.094e-05/0.00623, allocations: 19.98 kB / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.006413, allocations: 79.77 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.006418, allocations: 0 / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.533e-06/0.006419, allocations: 0 / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.006424, allocations: 7.938 kB / 0.8407 GB, free: 11.97 MB / 0.8073 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.0004179/0.006842, allocations: 282.6 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.006886, allocations: 8.031 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.006929, allocations: 8.922 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.938e-05/0.007028, allocations: 105.8 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.007052, allocations: 4.375 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.007072, allocations: 4.375 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.007172, allocations: 54.89 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.007179, allocations: 192 / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.007187, allocations: 384 / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.007192, allocations: 384 / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.036e-05/0.007212, allocations: 11.94 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.007498, allocations: 160.2 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.773e-05/0.007556, allocations: 30.52 kB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.007573, allocations: 8.891 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.007581, allocations: 4.062 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/0.007686, allocations: 51.39 kB / 0.8414 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 2.274e-06/0.007688, allocations: 0 / 0.8414 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001485/0.007837, allocations: 57.56 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.007878, allocations: 51.41 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.385e-05/0.007962, allocations: 122.6 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.007983, allocations: 33.7 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.008025, allocations: 88.12 kB / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.008037, allocations: 3.953 kB / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/0.008093, allocations: 29.69 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.008196, allocations: 318.8 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.028e-05/0.008257, allocations: 49.69 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.52e-05/0.008322, allocations: 72.56 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.902e-05/0.008401, allocations: 68.2 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.008404, allocations: 4 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001678/0.008572, allocations: 157 kB / 0.8424 GB, free: 10 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.008605, allocations: 29.7 kB / 0.8425 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.008611, allocations: 4.078 kB / 0.8425 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.008627, allocations: 3.938 kB / 0.8425 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.551e-05/0.008672, allocations: 7.922 kB / 0.8425 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.008677, allocations: 7.984 kB / 0.8425 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.008803, allocations: 16.22 kB / 0.8425 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.00882, allocations: 8 kB / 0.8425 GB, free: 9.922 MB / 0.8073 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 7.758e-05/0.008897, allocations: 117.9 kB / 0.8426 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.008908, allocations: 4 kB / 0.8426 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.419e-05/0.008933, allocations: 15.92 kB / 0.8426 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.008936, allocations: 3.938 kB / 0.8426 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.008938, allocations: 0 / 0.8426 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.008942, allocations: 4 kB / 0.8427 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.768e-05/0.00902, allocations: 69.88 kB / 0.8427 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009021, allocations: 0 / 0.8427 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.791e-05/0.009039, allocations: 4 kB / 0.8427 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.009042, allocations: 0 / 0.8427 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-06/0.009046, allocations: 4 kB / 0.8427 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.009048, allocations: 0 / 0.8427 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.009049, allocations: 0 / 0.8427 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.781e-05/0.009147, allocations: 73.05 kB / 0.8428 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.198e-06/0.009156, allocations: 3.953 kB / 0.8428 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.009167, allocations: 4 kB / 0.8428 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.551e-05/0.009183, allocations: 0 / 0.8428 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/0.009206, allocations: 7.984 kB / 0.8428 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.009211, allocations: 7.875 kB / 0.8428 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.835e-05/0.009229, allocations: 16.84 kB / 0.8428 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009229, allocations: 0 / 0.8428 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001932/0.009423, allocations: 23.94 kB / 0.8429 GB, free: 9.52 MB / 0.8073 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.0001206/0.009543, allocations: 80.41 kB / 0.8429 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00016/0.009703, allocations: 133.9 kB / 0.8431 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.009706, allocations: 0 / 0.8431 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.29e-05/0.009729, allocations: 16.8 kB / 0.8431 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.009848, allocations: 9.484 kB / 0.8431 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/0.01009, allocations: 120.8 kB / 0.8432 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.54e-05/0.01013, allocations: 63.28 kB / 0.8433 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.009e-05/0.01015, allocations: 4 kB / 0.8433 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.995e-05/0.01023, allocations: 63.36 kB / 0.8433 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of SimCode: time 7.62e-07/0.01023, allocations: 3.938 kB / 0.8433 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of Templates: time 0.003032/0.01326, allocations: 1.319 MB / 0.8446 GB, free: 7.668 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] 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","",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.216679640114307]