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.00102/0.00102, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001029/0.001029, allocations: 169 kB / 24.27 MB, free: 284 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.033/1.033, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.854/1.854, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 177] 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 1.252e-06/1.252e-06, allocations: 0 / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257e-05/1.383e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0009886/0.001002, allocations: 0.6092 MB / 0.7877 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.002013, allocations: 1.164 MB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.555e-05/0.002049, allocations: 0 / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.002068, allocations: 0 / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.372e-05/0.002122, allocations: 8.719 kB / 0.7888 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.002441, allocations: 120.6 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.002556, allocations: 91.81 kB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.053e-05/0.002626, allocations: 12.77 kB / 0.789 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.733e-05/0.002703, allocations: 47.97 kB / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.282e-05/0.002776, allocations: 27.89 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.002794, allocations: 9.438 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.727e-05/0.002842, allocations: 19.98 kB / 0.7891 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.00286, allocations: 7.984 kB / 0.7891 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.248e-05/0.002902, allocations: 19.98 kB / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.003041, allocations: 78.84 kB / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.003043, allocations: 0 / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003043, allocations: 0 / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.003048, allocations: 0 / 0.7892 GB, free: 10.61 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.0003448/0.003392, allocations: 406.3 kB / 0.7896 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.003423, allocations: 8.031 kB / 0.7896 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.003468, allocations: 12.94 kB / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.369e-05/0.003541, allocations: 116.5 kB / 0.7897 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.003557, allocations: 5.531 kB / 0.7898 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.00357, allocations: 4.375 kB / 0.7898 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.181e-05/0.003652, allocations: 50.95 kB / 0.7898 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-06/0.003658, allocations: 0.7812 kB / 0.7898 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.003664, allocations: 1.531 kB / 0.7898 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.00367, allocations: 384 / 0.7898 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.566e-05/0.003696, allocations: 15.91 kB / 0.7898 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.00398, allocations: 288.2 kB / 0.7901 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.56e-05/0.004026, allocations: 36.7 kB / 0.7901 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/0.004042, allocations: 11.75 kB / 0.7901 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.931e-06/0.004048, allocations: 0 / 0.7901 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.337e-05/0.004121, allocations: 65.05 kB / 0.7902 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.004122, allocations: 1.531 kB / 0.7902 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001476/0.004269, allocations: 69.52 kB / 0.7903 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.004299, allocations: 51.41 kB / 0.7903 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.37e-05/0.004372, allocations: 169.9 kB / 0.7905 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.004387, allocations: 31.42 kB / 0.7905 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/0.004438, allocations: 134.9 kB / 0.7906 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.288e-06/0.004447, allocations: 7.953 kB / 0.7907 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.004491, allocations: 35.36 kB / 0.7907 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.004605, allocations: 0.4883 MB / 0.7912 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.874e-05/0.004664, allocations: 59.92 kB / 0.7912 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.145e-05/0.004725, allocations: 84.75 kB / 0.7913 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.921e-05/0.004794, allocations: 84.69 kB / 0.7914 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.004796, allocations: 0 / 0.7914 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001605/0.004956, allocations: 181.5 kB / 0.7916 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.004981, allocations: 42.36 kB / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.004985, allocations: 0 / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.004994, allocations: 0.5 kB / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.93e-05/0.005033, allocations: 9.578 kB / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.005038, allocations: 400 / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.005138, allocations: 15.98 kB / 0.7916 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.005151, allocations: 12.56 kB / 0.7916 GB, free: 7.879 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 7.551e-05/0.005226, allocations: 169.3 kB / 0.7918 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-06/0.005234, allocations: 4 kB / 0.7918 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.989e-05/0.005253, allocations: 8.531 kB / 0.7918 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.005255, allocations: 0 / 0.7918 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.00526, allocations: 4.656 kB / 0.7918 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.005263, allocations: 0.6875 kB / 0.7918 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.714e-05/0.00533, allocations: 124.6 kB / 0.7919 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.005331, allocations: 1.375 kB / 0.7919 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.608e-06/0.005341, allocations: 0 / 0.7919 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.005342, allocations: 4 kB / 0.7919 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.005348, allocations: 0 / 0.7919 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.005349, allocations: 5.062 kB / 0.7919 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.00535, allocations: 0 / 0.7919 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.477e-05/0.005425, allocations: 96.36 kB / 0.792 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.005432, allocations: 8.672 kB / 0.792 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-06/0.00544, allocations: 0 / 0.792 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-06/0.005449, allocations: 4.562 kB / 0.792 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.005471, allocations: 7.984 kB / 0.7921 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.005475, allocations: 0.8438 kB / 0.7921 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.765e-05/0.005512, allocations: 135.2 kB / 0.7922 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005512, allocations: 1.938 kB / 0.7922 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001316/0.005644, allocations: 16 kB / 0.7922 GB, free: 7.238 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 9.117e-05/0.005735, allocations: 111.1 kB / 0.7923 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.005888, allocations: 149.7 kB / 0.7924 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.005889, allocations: 0 / 0.7924 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.185e-05/0.005911, allocations: 18.19 kB / 0.7925 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.006045, allocations: 13.86 kB / 0.7925 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002144/0.00626, allocations: 134.3 kB / 0.7926 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.172e-05/0.006291, allocations: 59.34 kB / 0.7927 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.396e-05/0.006305, allocations: 1.875 kB / 0.7927 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.5e-05/0.00632, allocations: 12.5 kB / 0.7927 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of SimCode: time 7.82e-07/0.006321, allocations: 0 / 0.7927 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of Templates: time 0.002423/0.008743, allocations: 1.186 MB / 0.7938 GB, free: 5.531 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.292042145971209]