Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.592/2.592, allocations: 443.5 MB / 0.7293 GB, free: 14.44 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 71.88 kB / 1.057 GB, free: 1.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3147, allocations: 160.7 MB / 1.214 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001871/0.3166, allocations: 0.6108 MB / 1.215 GB, free: 236 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.3181, allocations: 1.113 MB / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.444e-05/0.3181, allocations: 4 kB / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.821e-05/0.3181, allocations: 0 / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.082e-05/0.3182, allocations: 19.91 kB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.3187, allocations: 122.5 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.3188, allocations: 83.89 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.53e-05/0.3189, allocations: 7.938 kB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.918e-05/0.319, allocations: 39.89 kB / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.623e-05/0.3191, allocations: 31.95 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.3191, allocations: 8 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.569e-05/0.3192, allocations: 19.94 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.3192, allocations: 11.98 kB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.649e-05/0.3193, allocations: 31.91 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.3194, allocations: 87.72 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3194, allocations: 0 / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3194, allocations: 0 / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.3195, allocations: 0 / 1.216 GB, free: 14.64 MB / 0.9669 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.0004851/0.3199, allocations: 381 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.32, allocations: 12.03 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.32, allocations: 4.938 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.3202, allocations: 168.3 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.3202, allocations: 8.375 kB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.3202, allocations: 8.312 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.299e-05/0.3203, allocations: 38.25 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3203, allocations: 4.188 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.3203, allocations: 3.938 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3203, allocations: 0 / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.432e-05/0.3204, allocations: 4 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.3208, allocations: 296.8 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.757e-05/0.3208, allocations: 34.45 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.3209, allocations: 12.91 kB / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.3209, allocations: 0 / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.321, allocations: 55.41 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.321, allocations: 3.938 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.000196/0.3212, allocations: 77.8 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.3213, allocations: 55.41 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3214, allocations: 109.8 kB / 1.217 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.3214, allocations: 29.7 kB / 1.217 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.3215, allocations: 92.08 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.112e-05/0.3215, allocations: 3.953 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.808e-05/0.3215, allocations: 33.69 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3217, allocations: 314.8 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-05/0.3218, allocations: 27.98 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.425e-05/0.3219, allocations: 58.86 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.322, allocations: 88.27 kB / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.322, allocations: 7.938 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002699/0.3223, allocations: 151.3 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/0.3223, allocations: 37.69 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3223, allocations: 144 / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3223, allocations: 8 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.582e-05/0.3224, allocations: 0 / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.3224, allocations: 7.984 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.3226, allocations: 27.92 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.3226, allocations: 11.98 kB / 1.218 GB, free: 12.24 MB / 0.9669 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 9.405e-05/0.3227, allocations: 113.8 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.3227, allocations: 4 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.677e-05/0.3227, allocations: 15.84 kB / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3227, allocations: 0 / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3227, allocations: 0 / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3227, allocations: 0 / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.3229, allocations: 165.6 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3229, allocations: 0 / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.745e-05/0.3229, allocations: 4 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3229, allocations: 0 / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.3229, allocations: 3.984 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3229, allocations: 0 / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3229, allocations: 0 / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.323, allocations: 93.02 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.3231, allocations: 85.05 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.3231, allocations: 0 / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.491e-05/0.3231, allocations: 0 / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.3232, allocations: 7.984 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.3232, allocations: 4 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.705e-05/0.3232, allocations: 87.22 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3232, allocations: 4 kB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002126/0.3234, allocations: 23.92 kB / 1.219 GB, free: 11.54 MB / 0.9669 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.0001489/0.3236, allocations: 107.2 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002238/0.3238, allocations: 107.4 kB / 1.219 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3238, allocations: 0 / 1.219 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.104e-05/0.3238, allocations: 19.92 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.324, allocations: 12.06 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.3244, allocations: 155.7 kB / 1.219 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.3247, allocations: 0.6807 MB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.3247, allocations: 11.44 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.3247, allocations: 0 / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of Templates: time 0.002735/0.3274, allocations: 0.9277 MB / 1.221 GB, free: 9.453 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.276814543874934]