Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009553/0.0009553, allocations: 80.39 kB / 21.47 MB, free: 3.035 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.001001/0.001001, allocations: 169.9 kB / 24.87 MB, free: 9.273 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.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.869/1.869, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.944e-05/3.174e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001524/0.001556, allocations: 0.6165 MB / 0.7889 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.002815, allocations: 1.16 MB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.002863, allocations: 1.406 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.704e-05/0.002891, allocations: 0 / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.345e-05/0.002974, allocations: 11.88 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.003401, allocations: 116.5 kB / 0.7901 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.003548, allocations: 96.38 kB / 0.7902 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.415e-05/0.003632, allocations: 11.92 kB / 0.7902 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.914e-05/0.003721, allocations: 40.66 kB / 0.7903 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.872e-05/0.00381, allocations: 27.95 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.003831, allocations: 12.84 kB / 0.7903 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.135e-05/0.003892, allocations: 19.98 kB / 0.7903 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.526e-05/0.003918, allocations: 4.656 kB / 0.7903 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.003954, allocations: 27.97 kB / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.004091, allocations: 81.02 kB / 0.7905 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004093, allocations: 0 / 0.7905 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.363e-06/0.004095, allocations: 0 / 0.7905 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.004099, allocations: 1.594 kB / 0.7905 GB, free: 10.02 MB / 0.7448 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.0003645/0.004463, allocations: 402.3 kB / 0.7908 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.0045, allocations: 8.031 kB / 0.7908 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.004541, allocations: 8.938 kB / 0.7909 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.562e-05/0.004627, allocations: 117.1 kB / 0.791 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.004645, allocations: 4.375 kB / 0.791 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.004658, allocations: 7.812 kB / 0.791 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.802e-05/0.004726, allocations: 46.95 kB / 0.791 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.004732, allocations: 192 / 0.791 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-06/0.004738, allocations: 384 / 0.791 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.004744, allocations: 4.375 kB / 0.791 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.057e-05/0.004764, allocations: 11.91 kB / 0.791 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.005041, allocations: 272.3 kB / 0.7913 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.688e-05/0.005088, allocations: 27.06 kB / 0.7913 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.005103, allocations: 12.47 kB / 0.7913 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.00511, allocations: 0 / 0.7913 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.502e-05/0.005195, allocations: 70.69 kB / 0.7914 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 7.22e-07/0.005195, allocations: 0 / 0.7914 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001454/0.005341, allocations: 69.5 kB / 0.7915 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.005374, allocations: 55.41 kB / 0.7915 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.769e-05/0.005451, allocations: 166.6 kB / 0.7917 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.005468, allocations: 25.7 kB / 0.7917 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.005619, allocations: 131.6 kB / 0.7918 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.109e-05/0.00563, allocations: 11.94 kB / 0.7918 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/0.00568, allocations: 36.58 kB / 0.7919 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.005797, allocations: 0.4884 MB / 0.7924 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.812e-05/0.005855, allocations: 57.62 kB / 0.7924 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.233e-05/0.005907, allocations: 77.45 kB / 0.7925 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.263e-05/0.00598, allocations: 86.03 kB / 0.7926 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.005983, allocations: 0 / 0.7926 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002274/0.00621, allocations: 174.1 kB / 0.7927 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.006243, allocations: 37.69 kB / 0.7928 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.006249, allocations: 4.062 kB / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.006259, allocations: 4.719 kB / 0.7928 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.456e-05/0.006304, allocations: 4 kB / 0.7928 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.006306, allocations: 1.281 kB / 0.7928 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.006413, allocations: 19.92 kB / 0.7928 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.006427, allocations: 11.98 kB / 0.7928 GB, free: 7.348 MB / 0.7448 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 8.642e-05/0.006514, allocations: 161.9 kB / 0.793 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.006523, allocations: 0 / 0.793 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.142e-05/0.006544, allocations: 12.53 kB / 0.793 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.006547, allocations: 3.938 kB / 0.793 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.006549, allocations: 0.5312 kB / 0.793 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.006553, allocations: 0.875 kB / 0.793 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.925e-05/0.006632, allocations: 105.2 kB / 0.7931 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.006634, allocations: 0 / 0.7931 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.289e-05/0.006647, allocations: 0.8125 kB / 0.7931 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.006649, allocations: 0 / 0.7931 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.006654, allocations: 4.531 kB / 0.7931 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.006656, allocations: 5.359 kB / 0.7931 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.006658, allocations: 0 / 0.7931 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.151e-05/0.006749, allocations: 96.3 kB / 0.7932 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.006757, allocations: 3.953 kB / 0.7932 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.126e-06/0.006765, allocations: 5.188 kB / 0.7932 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.005e-05/0.006775, allocations: 4 kB / 0.7932 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/0.006796, allocations: 7.922 kB / 0.7932 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.0068, allocations: 4.812 kB / 0.7932 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.33e-05/0.006833, allocations: 123.2 kB / 0.7933 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006834, allocations: 0.9375 kB / 0.7933 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001416/0.006975, allocations: 15.98 kB / 0.7933 GB, free: 6.75 MB / 0.7448 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.000111/0.007086, allocations: 106.6 kB / 0.7934 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.00722, allocations: 148.9 kB / 0.7936 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.007221, allocations: 0.9688 kB / 0.7936 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.869e-05/0.00724, allocations: 15.78 kB / 0.7936 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.007391, allocations: 10.27 kB / 0.7936 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002203/0.007611, allocations: 134.2 kB / 0.7937 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.564e-05/0.007637, allocations: 59.34 kB / 0.7938 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.209e-05/0.007659, allocations: 4 kB / 0.7938 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.688e-05/0.007726, allocations: 85.47 kB / 0.7939 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/0.007727, allocations: 0 / 0.7939 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of Templates: time 0.003056/0.01078, allocations: 1.335 MB / 0.7952 GB, free: 4.84 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.129769032821059]