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.0009727/0.0009727, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.002063, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001085/0.001085, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008757/0.001961, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.055/1.055, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1368/1.192, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.666/2.666, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3278/2.993, allocations: 145.9 MB / 0.817 GB, free: 4.211 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 1.784e-06/1.784e-06, allocations: 0 / 0.8183 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.317e-05, allocations: 4.703 kB / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001308/0.001331, allocations: 0.6532 MB / 0.8189 GB, free: 2.273 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.002677, allocations: 1.162 MB / 0.82 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.118e-05/0.002728, allocations: 4 kB / 0.82 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.959e-05/0.002757, allocations: 3.938 kB / 0.82 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.256e-05/0.0028, allocations: 11.92 kB / 0.8201 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.003126, allocations: 119.6 kB / 0.8202 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.000183/0.003309, allocations: 87.84 kB / 0.8203 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.284e-05/0.003402, allocations: 3.984 kB / 0.8203 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.003511, allocations: 55.95 kB / 0.8203 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.635e-05/0.003607, allocations: 23.95 kB / 0.8203 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.003632, allocations: 11.94 kB / 0.8204 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.454e-05/0.003716, allocations: 19.98 kB / 0.8204 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.003738, allocations: 7.984 kB / 0.8204 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.003776, allocations: 16 kB / 0.8204 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.00392, allocations: 63.77 kB / 0.8205 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.946e-05/0.00394, allocations: 4 kB / 0.8205 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.142e-06/0.003941, allocations: 0 / 0.8205 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.003957, allocations: 0 / 0.8205 GB, free: 0.6719 MB / 0.7917 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.0004864/0.004443, allocations: 290.2 kB / 0.8207 GB, free: 364 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.004487, allocations: 12.03 kB / 0.8207 GB, free: 352 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.004528, allocations: 4.938 kB / 0.8207 GB, free: 348 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.708e-05/0.004625, allocations: 109.8 kB / 0.8209 GB, free: 212 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.004645, allocations: 384 / 0.8209 GB, free: 212 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.004663, allocations: 16.34 kB / 0.8209 GB, free: 196 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.072e-05/0.004754, allocations: 50.95 kB / 0.8209 GB, free: 136 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.004763, allocations: 192 / 0.8209 GB, free: 136 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-06/0.004771, allocations: 384 / 0.8209 GB, free: 136 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.004776, allocations: 384 / 0.8209 GB, free: 136 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.769e-05/0.004803, allocations: 11.88 kB / 0.8209 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.005202, allocations: 152.3 kB / 0.8211 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.828e-05/0.00526, allocations: 22.56 kB / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.005279, allocations: 12.92 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-06/0.005289, allocations: 4 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.991e-05/0.005389, allocations: 63.28 kB / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.00539, allocations: 0 / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001294/0.005519, allocations: 57.55 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.005559, allocations: 55.41 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.002e-05/0.005629, allocations: 110.7 kB / 0.8214 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.005647, allocations: 29.7 kB / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.005688, allocations: 88.12 kB / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.08e-05/0.005699, allocations: 7.891 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.005745, allocations: 37.67 kB / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.282e-05/0.005827, allocations: 314.8 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.885e-05/0.005876, allocations: 53.62 kB / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.158e-05/0.005928, allocations: 68.27 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.342e-05/0.005991, allocations: 80.3 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.005994, allocations: 0 / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000139/0.006133, allocations: 153 kB / 0.8222 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.617e-05/0.006189, allocations: 33.7 kB / 0.8222 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.006195, allocations: 3.938 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.006206, allocations: 8 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.006266, allocations: 7.984 kB / 0.8222 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.00627, allocations: 0 / 0.8222 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.006391, allocations: 19.98 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.006401, allocations: 0 / 0.8223 GB, free: 14.61 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.029e-05/0.006472, allocations: 117.8 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-06/0.006478, allocations: 3.984 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.006506, allocations: 12 kB / 0.8224 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.00651, allocations: 3.938 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.006512, allocations: 4 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.006516, allocations: 0 / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.831e-05/0.006585, allocations: 73.88 kB / 0.8225 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.006586, allocations: 0 / 0.8225 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.037e-05/0.006596, allocations: 0 / 0.8225 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-06/0.006605, allocations: 7.953 kB / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.006606, allocations: 240 / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-06/0.00661, allocations: 0 / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.006612, allocations: 3.938 kB / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.006615, allocations: 3.938 kB / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.261e-05/0.006688, allocations: 73.09 kB / 0.8225 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-06/0.006697, allocations: 7.938 kB / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-06/0.006706, allocations: 0 / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.006732, allocations: 11.98 kB / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.006735, allocations: 3.938 kB / 0.8226 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.554e-05/0.00675, allocations: 9.25 kB / 0.8226 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00675, allocations: 0 / 0.8226 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001153/0.006866, allocations: 16 kB / 0.8226 GB, free: 14.21 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.0001133/0.006979, allocations: 84.64 kB / 0.8227 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001483/0.007127, allocations: 141.9 kB / 0.8228 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.007133, allocations: 8.062 kB / 0.8228 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.696e-05/0.00715, allocations: 12.86 kB / 0.8228 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/0.007261, allocations: 23.91 kB / 0.8228 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004547/0.007716, allocations: 131.1 kB / 0.823 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.337e-05/0.007749, allocations: 55.22 kB / 0.823 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.92e-05/0.007769, allocations: 4 kB / 0.823 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.007839, allocations: 63.36 kB / 0.8231 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of SimCode: time 1.212e-06/0.00784, allocations: 0 / 0.8231 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of Templates: time 0.00314/0.01098, allocations: 1.335 MB / 0.8244 GB, free: 12.32 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.ref.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.854675232432783]