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.0009585/0.0009585, allocations: 80.75 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.001016/0.001016, allocations: 181 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.012/1.012, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.526/2.526, allocations: 438.8 MB / 0.6827 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.113e-06/2.113e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.75e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001506/0.001534, allocations: 0.6607 MB / 0.8392 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.002852, allocations: 1.166 MB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.002896, allocations: 0 / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.002925, allocations: 4 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.089e-05/0.003005, allocations: 11.86 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.003395, allocations: 119.6 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.003532, allocations: 91.83 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.465e-05/0.003607, allocations: 7.984 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.223e-05/0.003699, allocations: 43.97 kB / 0.8407 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.74e-05/0.003786, allocations: 27.95 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.003806, allocations: 8 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.288e-05/0.003879, allocations: 27.91 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.003897, allocations: 8 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.003943, allocations: 23.98 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.004082, allocations: 83.7 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.624e-06/0.004085, allocations: 0 / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.32e-07/0.004086, allocations: 0 / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.00409, allocations: 0 / 0.8408 GB, free: 11.88 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.0003302/0.00442, allocations: 278.6 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.004454, allocations: 8.031 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.00449, allocations: 8.922 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.683e-05/0.004577, allocations: 105.8 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.004595, allocations: 8.375 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.004608, allocations: 4.375 kB / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.49e-05/0.004683, allocations: 50.95 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.00469, allocations: 192 / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.004697, allocations: 384 / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.004702, allocations: 384 / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.134e-05/0.004723, allocations: 15.86 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002596/0.004983, allocations: 156.2 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.598e-05/0.005029, allocations: 30.61 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.22e-05/0.005041, allocations: 4.859 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.005049, allocations: 8.062 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.659e-05/0.005135, allocations: 55.33 kB / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.005136, allocations: 0 / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001141/0.00525, allocations: 53.62 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.005281, allocations: 55.39 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003569/0.005638, allocations: 126.6 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.005655, allocations: 29.7 kB / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.005686, allocations: 80.14 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.546e-06/0.005695, allocations: 7.953 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.005739, allocations: 29.69 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.017e-05/0.005819, allocations: 318.8 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.022e-05/0.005869, allocations: 53.69 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.057e-05/0.00592, allocations: 80.12 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.329e-05/0.005983, allocations: 76.31 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.005985, allocations: 0 / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001264/0.006111, allocations: 145 kB / 0.8425 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.006143, allocations: 33.69 kB / 0.8426 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.006149, allocations: 4 kB / 0.8426 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.006164, allocations: 3.938 kB / 0.8426 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.531e-05/0.006209, allocations: 12 kB / 0.8426 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.006211, allocations: 0 / 0.8426 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.006313, allocations: 15.98 kB / 0.8426 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.006329, allocations: 12.22 kB / 0.8426 GB, free: 9.828 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 6.277e-05/0.006392, allocations: 109.8 kB / 0.8427 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/0.006401, allocations: 4 kB / 0.8427 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.006423, allocations: 11.98 kB / 0.8427 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.006426, allocations: 3.938 kB / 0.8427 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.006428, allocations: 0 / 0.8427 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.006432, allocations: 11.98 kB / 0.8427 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.244e-05/0.006494, allocations: 65.89 kB / 0.8428 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.006496, allocations: 0 / 0.8428 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.01e-05/0.006506, allocations: 4 kB / 0.8428 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.006507, allocations: 0 / 0.8428 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-06/0.006511, allocations: 0 / 0.8428 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.006513, allocations: 3.984 kB / 0.8428 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.006514, allocations: 0 / 0.8428 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.935e-05/0.006583, allocations: 73 kB / 0.8429 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.776e-06/0.006592, allocations: 7.953 kB / 0.8429 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-06/0.0066, allocations: 0 / 0.8429 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.047e-05/0.00661, allocations: 11.98 kB / 0.8429 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.006629, allocations: 0 / 0.8429 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.006634, allocations: 7.938 kB / 0.8429 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.273e-05/0.006647, allocations: 12.84 kB / 0.8429 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006647, allocations: 0 / 0.8429 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001302/0.006777, allocations: 19.98 kB / 0.8429 GB, free: 9.441 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.0001035/0.006881, allocations: 80.36 kB / 0.843 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.007014, allocations: 137.9 kB / 0.8432 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.007016, allocations: 4.062 kB / 0.8432 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.831e-05/0.007035, allocations: 20.84 kB / 0.8432 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001114/0.007146, allocations: 8 kB / 0.8432 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000209/0.007355, allocations: 124.6 kB / 0.8433 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.896e-05/0.007384, allocations: 59.3 kB / 0.8434 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.73e-05/0.007401, allocations: 4 kB / 0.8434 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.75e-05/0.007469, allocations: 63.36 kB / 0.8434 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of SimCode: time 7.41e-07/0.00747, allocations: 0 / 0.8434 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of Templates: time 0.002958/0.01043, allocations: 1.314 MB / 0.8447 GB, free: 7.582 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 -s gbode -gbm=radauIIA3 -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.346640921197832]